From f982403bc63e62c8772b81a01f762b130c241f3c Mon Sep 17 00:00:00 2001 From: Ben Asmussen Date: Mon, 9 Jun 2025 19:39:08 +0000 Subject: [PATCH] Add permissions to Gitflow workflows and update to stable tag - Add contents: write permission for branch and tag operations - Add pull-requests: write permission for PR operations - Update from @main to @1.0.0 for version stability - Required for the workflows to function properly --- .github/workflows/gitflow-hotfix.yml | 6 +++++- .github/workflows/gitflow-release.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gitflow-hotfix.yml b/.github/workflows/gitflow-hotfix.yml index 0f48d0d..7f25e25 100644 --- a/.github/workflows/gitflow-hotfix.yml +++ b/.github/workflows/gitflow-hotfix.yml @@ -15,9 +15,13 @@ on: required: true type: string +permissions: + contents: write + pull-requests: write + jobs: hotfix: - uses: dataliquid/github-actions/.github/workflows/gitflow-hotfix.yml@main + uses: dataliquid/github-actions/.github/workflows/gitflow-hotfix.yml@1.0.0 with: action: ${{ inputs.action }} version: ${{ inputs.version }} diff --git a/.github/workflows/gitflow-release.yml b/.github/workflows/gitflow-release.yml index c448718..6625fbb 100644 --- a/.github/workflows/gitflow-release.yml +++ b/.github/workflows/gitflow-release.yml @@ -15,9 +15,13 @@ on: required: false type: string +permissions: + contents: write + pull-requests: write + jobs: release: - uses: dataliquid/github-actions/.github/workflows/gitflow-release.yml@main + uses: dataliquid/github-actions/.github/workflows/gitflow-release.yml@1.0.0 with: action: ${{ inputs.action }} version: ${{ inputs.version }}