Skip to content

Commit 6efcccb

Browse files
authored
fix(release.yml): Deprecated github-scripts action
1 parent 2de8e52 commit 6efcccb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ jobs:
162162
tree-sitter-grammars*.tar.gz
163163
164164
- name: Greenlight releasing to MELPA
165-
uses: actions/github-script@v5
165+
uses: actions/github-script@v7
166166
with:
167-
github-token: ${{ secrets.PAT }}
167+
github-token: ${{ secrets.PAT_2 }}
168168
script: |
169169
github.rest.git.updateRef({
170170
owner: context.repo.owner,
@@ -175,9 +175,9 @@ jobs:
175175
continue-on-error: true
176176

177177
- name: Greenlight releasing to MELPA Stable
178-
uses: actions/github-script@v5
178+
uses: actions/github-script@v7
179179
with:
180-
github-token: ${{ secrets.PAT }}
180+
github-token: ${{ secrets.PAT_2 }}
181181
script: |
182182
github.rest.git.createRef({
183183
owner: context.repo.owner,

0 commit comments

Comments
 (0)