diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0175b20..e3aa4d3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,7 +9,7 @@ permissions: {} jobs: go-validation: - uses: devantler-tech/.github/.github/workflows/validate-go-project.yaml@a76d5df9371cf712a8f60307fde060825a34cf35 # v21.3.4 + uses: devantler-tech/.github/.github/workflows/validate-go-project.yaml@d70d50665465117f01104313e53057374a96a1a3 # v21.7.2 permissions: contents: read pull-requests: write # lint summaries; no branch-writing token on candidate runners diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 80f408d..ae558a2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,6 +13,12 @@ permissions: jobs: release: - uses: devantler-tech/.github/.github/workflows/create-release.yaml@a76d5df9371cf712a8f60307fde060825a34cf35 # v21.3.4 + uses: devantler-tech/.github/.github/workflows/create-release.yaml@d70d50665465117f01104313e53057374a96a1a3 # v21.7.2 + with: + # Refuse every outbound host except the release jobs' measured allow-list + # (devantler-tech/.github#912) — in this template repository only. Generated projects + # own their release configuration (an asset upload needs another host), so they stay in + # audit mode until they opt in themselves. + block-egress: ${{ github.repository == 'devantler-tech/go-template' }} secrets: APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} diff --git a/.github/workflows/stale-issues.yaml b/.github/workflows/stale-issues.yaml index 8d3e128..18603d0 100644 --- a/.github/workflows/stale-issues.yaml +++ b/.github/workflows/stale-issues.yaml @@ -23,7 +23,7 @@ jobs: triage: # Keep portfolio automation disabled in external template copies. if: ${{ github.repository_owner == 'devantler-tech' }} - uses: devantler-tech/.github/.github/workflows/triage-stale-issues.yaml@a76d5df9371cf712a8f60307fde060825a34cf35 # v21.3.4 + uses: devantler-tech/.github/.github/workflows/triage-stale-issues.yaml@d70d50665465117f01104313e53057374a96a1a3 # v21.7.2 permissions: issues: write actions: write diff --git a/.github/workflows/template-sync.yaml b/.github/workflows/template-sync.yaml index 713dbb9..f0a72e0 100644 --- a/.github/workflows/template-sync.yaml +++ b/.github/workflows/template-sync.yaml @@ -29,7 +29,7 @@ jobs: permissions: contents: write pull-requests: write - uses: devantler-tech/.github/.github/workflows/template-sync.yaml@a76d5df9371cf712a8f60307fde060825a34cf35 # v21.3.4 + uses: devantler-tech/.github/.github/workflows/template-sync.yaml@d70d50665465117f01104313e53057374a96a1a3 # v21.7.2 with: source-repo-path: devantler-tech/go-template # Push with the App token: GITHUB_TOKEN can never update workflow files, so a diff --git a/.github/workflows/todos.yaml b/.github/workflows/todos.yaml index 579625b..f7590ee 100644 --- a/.github/workflows/todos.yaml +++ b/.github/workflows/todos.yaml @@ -10,6 +10,6 @@ on: jobs: todos: - uses: devantler-tech/.github/.github/workflows/scan-for-todo-comments.yaml@a76d5df9371cf712a8f60307fde060825a34cf35 # v21.3.4 + uses: devantler-tech/.github/.github/workflows/scan-for-todo-comments.yaml@d70d50665465117f01104313e53057374a96a1a3 # v21.7.2 secrets: APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}