Closed
Description
I get the error:
##[error]/github/workspace can not be a rooted path.
when using a workflow.yml that looks like this:
name: sentinel-test-gcp
on:
pull_request:
branches:
- master
paths:
- 'sentinel-policy-sets/gcp/**'
jobs:
sentinel-test-gcp:
runs-on: ubuntu-latest
steps:
# This step checks out the repository's code
- name: checkout-code
uses: actions/checkout@master
# This step runs `sentinel test` against the GCP policies
- name: sentinel-test-gcp
uses: rberlind/sentinel-policy-sets-for-tfc@master
with:
args: ./sentinel-policy-sets/gcp
env:
STL_ACTION_WORKING_DIR: './sentinel-policy-sets/gcp'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
I get the same thing if I use uses: actions/checkout@v1
Metadata
Metadata
Assignees
Labels
No labels