There was an error while loading. Please reload this page.
1 parent 16fac3a commit c6ad8d0Copy full SHA for c6ad8d0
1 file changed
.github/workflows/release.yml
@@ -11,13 +11,20 @@ permissions:
11
jobs:
12
release-please:
13
runs-on: ubuntu-latest
14
+ permissions:
15
+ id-token: write
16
steps:
17
+ - name: Fetch ephemeral Github token
18
+ id: fetch-token
19
+ uses: elastic/ci-gh-actions/fetch-github-token@8a7604dfdd4e7fe21f969bfe9ff96e17635ea577 # v1.0.0
20
+ with:
21
+ vault-instance: "ci-prod"
22
- uses: googleapis/release-please-action@v4
23
id: release
24
with:
25
release-type: node
26
package-name: "@elastic/cli"
- token: ${{ secrets.RELEASE_PLEASE }}
27
+ token: ${{ steps.fetch-token.outputs.token }}
28
29
publish:
30
needs: release-please
0 commit comments