We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ba0f7f commit b8a8cd3Copy full SHA for b8a8cd3
1 file changed
.github/workflows/tests.yml
@@ -88,5 +88,13 @@ jobs:
88
needs: tests
89
uses: WerWolv/ImHex-Patterns/.github/workflows/tests.yml@master
90
with:
91
- pattern_language_git_repo: ${{ github.server_url }}/${{ github.repository }}
92
- pattern_language_git_hash: ${{ github.sha }}
+ pattern_language_git_repo: ${{ github.server_url }}/${{
+ github.event_name == 'pull_request'
93
+ && github.event.pull_request.head.repo.full_name
94
+ || github.repository
95
+ }}
96
+ pattern_language_git_hash: ${{
97
98
+ && github.event.pull_request.head.sha
99
+ || github.sha
100
0 commit comments