Skip to content

Commit

Permalink
[FIX] Changed secret name due to name reservations.
Browse files Browse the repository at this point in the history
  • Loading branch information
telometto committed Dec 15, 2024
1 parent f09dfda commit 58e5479
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/comment_and_automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Comment and auto-merge
on:
workflow_call:
secrets:
github_token:
token:
required: true
inputs:
pull_request_operation:
Expand All @@ -20,7 +20,7 @@ jobs:
if: ${{ inputs.pull_request_operation == 'created' || inputs.pull_request_operation == 'updated' }}
uses: actions/github-script@main
with:
github-token: ${{ secrets.github_token }}
github-token: ${{ secrets.token }}
script: |
const comment = require('.github/scripts/comment')
const compare = require('.github/scripts/compare')
Expand All @@ -46,4 +46,4 @@ jobs:
fi
env:
PR_URL: ${{ inputs.pull_request_url }}
GH_TOKEN: ${{ secrets.github_token }}
GH_TOKEN: ${{ secrets.token }}
13 changes: 0 additions & 13 deletions .github/workflows/lint.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/update_flake_lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Update .lock file
on:
workflow_call:
secrets:
github_token:
token:
required: true
bot_pat:
required: true
Expand All @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@main
with:
token: ${{ secrets.github_token }}
token: ${{ secrets.token }}

- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@main
Expand All @@ -28,7 +28,7 @@ jobs:
pr-title: "🧹 chore(flake.lock): update"
pr-labels: auto-merge
nix-options: "--access-tokens github.com=${{ secrets.bot_pat }}"
token: ${{ secrets.github_token }}
token: ${{ secrets.token }}

- name: Set outputs
run: |
Expand Down

0 comments on commit 58e5479

Please sign in to comment.