Skip to content

Commit

Permalink
chore(ci): ensure that the 'pack and comment' only runs on a PR (ioni…
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed Feb 5, 2024
1 parent e4a6ef2 commit 147dfe6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pack-and-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ jobs:
pack:
name: Pack and Comment
runs-on: 'ubuntu-22.04'
if: ${{ github.event_name == 'pull_request' }}
steps:
- name: Check event type
run: |
if [ "${{ github.event_name }}" != "pull_request" ]; then
echo "This workflow was not triggered by a pull request. Exiting..."
exit 0
fi
- name: Checkout Code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

Expand Down

0 comments on commit 147dfe6

Please sign in to comment.