Fix GitHub actions

Follow-up to #630.
The check for the target git sha can does not work in the molecule step.
Instead expose the sha through an env variable in GitHub actions.
This commit is contained in:
Fabian Koller 2021-02-26 19:39:44 +01:00
parent cb4f822a19
commit 8f1e95a0ce
No known key found for this signature in database
GPG key ID: 4EFE4C946404B82A
2 changed files with 3 additions and 7 deletions

View file

@ -48,6 +48,8 @@ jobs:
molecule idempotence
molecule verify
working-directory: "${{ github.repository }}"
env:
TARGET_GITHUB_SHA: "${{ github.event.pull_request.head.sha }}"
# # https://galaxy.ansible.com/docs/contributing/importing.html
# release:
# runs-on: ubuntu-latest