Skip to content

Toggle lock branch

Toggle lock branch #98

name: Toggle lock branch
on:
workflow_dispatch: # Triggered manually from the GitHub UI / Actions
jobs:
ToggleLockBranch_job:
name: Toggle lock branch
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- id: secrets
uses: SonarSource/[email protected]
with:
secrets: |
development/github/token/{REPO_OWNER_NAME_DASH}-lock token | lock_token;
development/kv/data/slack token | slack_api_token;
- uses: sonarsource/gh-action-lt-backlog/ToggleLockBranch@v1
with:
github-token: ${{ fromJSON(steps.secrets.outputs.vault).lock_token }}
slack-token: ${{ fromJSON(steps.secrets.outputs.vault).slack_api_token }}
slack-channel: team-lang-dotnet