@@ -62,42 +62,14 @@ jobs:
6262 # PACKAGING
6363 # ###########################################################################
6464
65- # writable-branch-detect:
66- # runs-on: ubuntu-latest
67- # outputs:
68- # OKAY: ${{ steps.detect.outputs.OKAY }}
69- # steps:
70- # - name: is this a bot-writable branch?
71- # id: detect
72- # # dependabot can't access normal secrets
73- # # & don't run non-branch triggers (like tags)
74- # # & we don't want to trigger an update on PR's merge to main/master/default (which is a branch)
75- # run: |
76- # set -euo pipefail
77- # echo "now: $(date -u +"%Y-%m-%dT%H:%M:%S.%3N")"
78- # if [[ \
79- # ${{github.actor}} != 'dependabot[bot]' && \
80- # ${{github.ref_type}} == 'branch' && \
81- # ${{format('refs/heads/{0}', github.event.repository.default_branch)}} != ${{github.ref}} \
82- # ]]; then
83- # echo "OKAY=true" >> "$GITHUB_OUTPUT"
84- # echo "yes, this branch is compatible"
85- # else
86- # echo "OKAY=false" >> "$GITHUB_OUTPUT"
87- # echo "no, this branch is incompatible"
88- # fi
89-
9065 py-setup :
91- # needs: [ writable-branch-detect ]
9266 runs-on : ubuntu-latest
9367 steps :
9468 - uses : actions/checkout@v4
95- # if: needs.writable-branch-detect.outputs.OKAY == 'true'
9669 with :
9770 token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
9871 ref : ${{ github.ref }} # dont lock to sha (action needs to push)
9972 - uses : WIPACrepo/wipac-dev-py-setup-action@v5.0
100- # if: needs.writable-branch-detect.outputs.OKAY == 'true'
10173 with :
10274 pypi_name : ' wipac-dev-actions-testbed'
10375 python_min : 3.12
@@ -107,16 +79,13 @@ jobs:
10779 auto_mypy_option : True
10880
10981 py-dependencies :
110- # needs: [ writable-branch-detect ]
11182 runs-on : ubuntu-latest
11283 steps :
11384 - uses : actions/checkout@v4
114- # if: needs.writable-branch-detect.outputs.OKAY == 'true'
11585 with :
11686 token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
11787 ref : ${{ github.ref }} # dont lock to sha (action needs to push)
11888 - uses : WIPACrepo/wipac-dev-py-dependencies-action@v3.0
119- # if: needs.writable-branch-detect.outputs.OKAY == 'true'
12089
12190
12291 # ###########################################################################
0 commit comments