diff --git a/.github/workflows/issues-workflow.yaml b/.github/workflows/issues-workflow.yaml index 3017271d..f65512d8 100644 --- a/.github/workflows/issues-workflow.yaml +++ b/.github/workflows/issues-workflow.yaml @@ -13,7 +13,14 @@ jobs: name: Add issue to project runs-on: ubuntu-latest steps: + - uses: svrooij/secret-gate-action@v1 + id: secret + with: + inputsToCheck: "ADD_ISSUES_TOKEN" + env: + ADD_ISSUES_TOKEN: ${{ secrets.ADD_ISSUES_TOKEN }} - uses: actions/add-to-project@v0.5.0 + if: steps.secret.outputs.inputsChecked == 'true' with: project-url: https://github.com/orgs/Kuadrant/projects/18 github-token: ${{ secrets.ADD_ISSUES_TOKEN }}