Skip to content

Commit

Permalink
Merge pull request #2 from domengabrovsek/test
Browse files Browse the repository at this point in the history
chore: update github workflow with permissions
  • Loading branch information
domengabrovsek committed Aug 25, 2023
2 parents bc121a6 + b623b55 commit c8c0732
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Release and Deploy

# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
id-token: write # This is required for requesting the JWT
contents: write # This is required for actions/checkout

on:
pull_request:
types:
Expand All @@ -21,7 +26,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
node-version: "18"

- name: Install dependencies
run: npm install
Expand All @@ -44,4 +49,4 @@ jobs:
run: git tag ${{ steps.next_version.outputs.version }}

- name: Push git tag
run: git push origin ${{ steps.next_version.outputs.version }}
run: git push origin ${{ steps.next_version.outputs.version }}

0 comments on commit c8c0732

Please sign in to comment.