From b8688b111c3ec9eae3589f725b96c43d386f1735 Mon Sep 17 00:00:00 2001 From: koralowiec <36413794+koralowiec@users.noreply.github.com> Date: Sat, 13 Dec 2025 10:31:50 +0100 Subject: [PATCH] ci: use token for PR creation --- .github/workflows/archive-feature.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/archive-feature.yaml b/.github/workflows/archive-feature.yaml index d7c27578..56cc8c65 100644 --- a/.github/workflows/archive-feature.yaml +++ b/.github/workflows/archive-feature.yaml @@ -8,16 +8,14 @@ on: required: true type: string -permissions: - contents: write - pull-requests: write - jobs: archive: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 + with: + token: ${{ secrets.ARCHIVE_TOKEN }} - name: Install just uses: extractions/setup-just@v3 @@ -41,7 +39,7 @@ jobs: - name: Create Pull Request env: - GH_TOKEN: ${{ github. token }} + GH_TOKEN: ${{ secrets.ARCHIVE_TOKEN }} run: | gh pr create \ --title "Archive feature: ${{ inputs.feature_name }}" \