Skip to content

Commit

Permalink
Fix GitHub workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Septiple committed Aug 1, 2024
1 parent 219a19c commit 2d240ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/factoriotest-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
pull_request_target:
branches:
- master
- Frozen

permissions:
contents: read

jobs:
test-pull-request:
name: PR
uses: pyanodon/pyanodontests/.github/workflows/pytest.yml@v1
uses: pyanodon/pyanodontests/.github/workflows/pytest.yml@v1.5.0
with:
repository: ${{ github.repository }}
ref: ${{ github.event.pull_request.head.sha }}
test_branch: ${{ github.head_ref || github.ref_name }}
secrets: inherit
4 changes: 3 additions & 1 deletion .github/workflows/factoriotest-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ on:
push:
branches:
- master
- Frozen

permissions:
contents: read

jobs:
test-push:
name: Push
uses: pyanodon/pyanodontests/.github/workflows/pytest.yml@v1
uses: pyanodon/pyanodontests/.github/workflows/pytest.yml@v1.5.0
with:
repository: ${{ github.repository }}
ref: ${{ github.sha }}
test_branch: ${{ github.head_ref || github.ref_name }}
secrets: inherit

0 comments on commit 2d240ed

Please sign in to comment.