Skip to content

Commit

Permalink
ci: fix release push to protected branches (opensearch-project#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickofthyme authored Apr 2, 2021
1 parent a58cc0a commit a23d66c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/osd-charts/.github/workflows/auto_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js
uses: actions/setup-node@v1
with:
Expand All @@ -28,7 +30,8 @@ jobs:
run: yarn test --ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.ADMIN_TOKEN_GH }}
GH_TOKEN: ${{ secrets.ADMIN_TOKEN_GH }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
run: yarn semantic-release

0 comments on commit a23d66c

Please sign in to comment.