Skip to content

Commit

Permalink
Fixing the protected branch issue (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
ravali-rimmalapudi authored Sep 28, 2021
1 parent d454b81 commit 5367ba5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:
cp -R CHANGES.md ~/oai_definitions/CHANGES.md
- name: Checkout cli-core repo
uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
- name: Update OAI specs
id: update-specs
run: |
Expand All @@ -63,14 +65,16 @@ jobs:
steps:
- name: Checkout cli-core repo
uses: actions/checkout@v2
with:
persist-credentials: false
- run: |
git pull
npm install
- name: semanticRelease
id: semantic-release
run: npx semantic-release -t \${version}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
update-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5367ba5

Please sign in to comment.