Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

ci(extension): open the release pr with the actions token

Luis Ortizc23107167276
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 3ec6ac6..31405a8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,22 +16,16 @@ jobs:
release-pr:
name: Release PR
runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ pull-requests: write
outputs:
extension: ${{ steps.extension.outputs.release_created }}
extension-tag: ${{ steps.extension.outputs.tag_name }}
steps:
- - id: app
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
- with:
- client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
- private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
- permission-contents: write
- permission-pull-requests: write
-
- id: extension
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
with:
- token: ${{ steps.app.outputs.token }}
target-branch: main
config-file: .github/release-please/extension-config.json
manifest-file: .github/release-please/extension-manifest.json