Skip to content

Commit

Permalink
don't run checkout on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kislovskiy committed Apr 13, 2024
1 parent 019656c commit 15a03f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/2023-PyConIT-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
timeout-minutes: 1
permissions:
pull-requests: read
outputs:
changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: github.ref == 'refs/heads/main' # Only checkout when the branch is 'main'
- name: Check for backend file changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2
id: changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ jobs:
timeout-minutes: 1
permissions:
pull-requests: read
outputs:
changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: github.ref == 'refs/heads/main' # Only checkout when the branch is 'main'
- name: Check for backend file changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2
id: changes
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/2023_EuroSciPy_workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ jobs:
timeout-minutes: 1
permissions:
pull-requests: read
outputs:
changes: ${{ steps.filter.outputs.changes }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
if: github.ref == 'refs/heads/main' # Only checkout when the branch is 'main'
- name: Check for backend file changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2
id: changes
Expand Down

0 comments on commit 15a03f3

Please sign in to comment.