1
0
mirror of synced 2025-12-25 11:03:37 -05:00

add FREEZE secret to the env for pipeline workflows (#41161)

This commit is contained in:
Robert Sese
2023-08-21 15:41:07 -05:00
committed by GitHub
parent d9b8b14df4
commit 6b4fc47d6a
2 changed files with 18 additions and 0 deletions

View File

@@ -19,6 +19,15 @@ permissions:
contents: write
pull-requests: write
# **IMPORTANT:** Do not change the FREEZE environment variable set here!
# This workflow runs on a recurring basis. To temporarily disable it (e.g.,
# during a docs deployment freeze), add an Actions Secret to the repo settings
# called `FREEZE` with a value of `true`. To re-enable Audit Logs updates, simply
# delete that Secret from the repo settings. The environment variable here
# will duplicate that Secret's value for later evaluation.
env:
FREEZE: ${{ secrets.FREEZE }}
# This allows a subsequently queued workflow run to interrupt previous runs
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'