Skip to content

Commit d5753e0

Browse files
clean up for module.callback refactor
1 parent fdf335e commit d5753e0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ash-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ jobs:
102102
report_mix_deps:
103103
name: "Report Mix Dependencies"
104104
runs-on: ubuntu-latest
105-
# Only run this job when we're on the main branch, not for PRs
106-
if: github.ref == 'refs/heads/main'
105+
# Only run this job for upstream main (forks often lack dependency submission permissions)
106+
if: github.ref == 'refs/heads/main' && github.repository == 'ash-project/ash'
107107
steps:
108108
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
109109
- uses: erlef/mix-dependency-submission@fa3e8f349d00a32bf14eec1c7577d6564abe08d2 # v1.3.1
@@ -298,7 +298,7 @@ jobs:
298298
needs:
299299
- build-test
300300
- build-docs
301-
if: ${{inputs.publish-docs && github.ref == 'refs/heads/main'}}
301+
if: ${{inputs.publish-docs && github.ref == 'refs/heads/main' && github.repository == 'ash-project/ash'}}
302302
permissions:
303303
pages: write
304304
id-token: write

0 commit comments

Comments
 (0)