diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 9535763777b..67330dea097 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -19,6 +19,8 @@ jobs: generate_release_notes: name: Generate Release Notes runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout @@ -41,7 +43,7 @@ jobs: run: echo "$CHANGELOG" >> $GITHUB_STEP_SUMMARY - name: Upload Release Notes (on release) if: github.event_name == 'release' - uses: softprops/action-gh-release@v2.0.5 + uses: softprops/action-gh-release@v2.1.0 with: body: ${{ steps.release-notes.outputs.changelog }} - name: Error on uncategorized PRs diff --git a/.github/workflows/scala-cli-example.yml b/.github/workflows/scala-cli-example.yml index 6ef9185defa..79fbe4ed2d6 100644 --- a/.github/workflows/scala-cli-example.yml +++ b/.github/workflows/scala-cli-example.yml @@ -9,6 +9,8 @@ jobs: generate_scala_cli_example: name: Generate Scala CLI Example runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout @@ -26,7 +28,7 @@ jobs: retention-days: 7 - name: Upload To Release Page if: github.event_name == 'release' - uses: softprops/action-gh-release@v2.0.5 + uses: softprops/action-gh-release@v2.1.0 with: files: chisel-example.scala