Skip to content

Commit b29fce6

Browse files
authored
chore(build): fix broken gh-actions (react-grid-layout#2090)
1 parent 0f480ec commit b29fce6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/changelog.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: "changelog"
2+
permissions:
3+
contents: write
24
on:
35
push:
46
tags:
@@ -17,8 +19,6 @@ jobs:
1719
uses: mikepenz/release-changelog-builder-action@v2
1820
with:
1921
configuration: ".github/changelog-configuration.json"
20-
permissions:
21-
contents: write
2222
env:
2323
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2424

@@ -28,7 +28,5 @@ jobs:
2828
tag_name: ${{ github.ref }}
2929
release_name: ${{ github.ref }}
3030
body: ${{steps.github_release.outputs.changelog}}
31-
permissions:
32-
contents: write
3331
env:
3432
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/gh-pages.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
name: Build and Deploy to GitHub Pages
2+
permissions:
3+
contents: write
24
on:
35
push:
46
tags:
@@ -8,15 +10,15 @@ jobs:
810
runs-on: ubuntu-latest
911
steps:
1012
- name: Checkout 🛎️
11-
uses: actions/checkout@v2.3.1
13+
uses: actions/checkout@v4
1214

1315
- name: Install and Build
1416
run: |
1517
yarn
1618
make build-example
1719
1820
- name: Deploy 🚀
19-
uses: JamesIves/github-pages-deploy-action@4.0.0
21+
uses: JamesIves/github-pages-deploy-action@v4
2022
with:
2123
branch: gh-pages # The branch the action should deploy to.
2224
folder: examples # The folder the action should deploy.

0 commit comments

Comments
 (0)