Skip to content

Commit

Permalink
Fixed error in workflow and added permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
harmen-xb committed Nov 17, 2023
1 parent 4d6d532 commit 818cd73
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ defaults:
run:
shell: bash

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
build-and-test:
name: ${{ matrix.os }}
Expand Down Expand Up @@ -118,7 +124,7 @@ jobs:
with:
name: allure-results
path: allure-results
Get the gh-pages history, so the next report can be generated with history.
# Get the gh-pages history, so the next report can be generated with history.
- name: Get History
uses: actions/checkout@v2
continue-on-error: true
Expand Down

0 comments on commit 818cd73

Please sign in to comment.