File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments