chore: remove pull_request_target test #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
on: | |
issue_comment: | |
merge_group: | |
pull_request: | |
push: | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
tests: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Echo context | |
env: | |
GH_JSON: ${{ toJson(github) }} | |
run: | | |
echo "GITHUB_SHA $GITHUB_SHA" | |
echo "GITHUB_REF $GITHUB_REF" | |
echo "GITHUB_REF_NAME $GITHUB_REF_NAME" | |
echo "$GH_JSON" | |
- name: Checkout action | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
sparse-checkout: action.yml | |
- name: PR data | |
id: pr | |
uses: ./ | |
- name: Echo data | |
run: | | |
echo Number "${{ steps.pr.outputs.number }}" from "${{ github.event_name }} event." | |
echo Branch "${{ steps.pr.outputs.branch }}" from "${{ github.event_name }} event." |