Skip to content

Commit

Permalink
.github/workflows: only run github-script for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Nov 8, 2024
1 parent 417346e commit 06438ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ccip-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
- name: Fetch latest pull request data
id: fetch_pr_data
uses: actions/github-script@v6
# only run this step if the event is a pull request
if: github.event_name == 'pull_request'
with:
script: |
const pr = await github.rest.pulls.get({
Expand Down

0 comments on commit 06438ad

Please sign in to comment.