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 }}" \