diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2021-09-17 23:14:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 17:14:21 -0400 |
commit | 421f5db3982f8b4a31fcdcff50a4c3e7f6f285c5 (patch) | |
tree | 53e1a032716b1108e5352d9a11d8cbcfae16353f /.github | |
parent | c188080058f51b8dc6e583cb96c55a87374b1a52 (diff) | |
download | NotEnoughUpdates-REPO-421f5db3982f8b4a31fcdcff50a4c3e7f6f285c5.tar.gz NotEnoughUpdates-REPO-421f5db3982f8b4a31fcdcff50a4c3e7f6f285c5.tar.bz2 NotEnoughUpdates-REPO-421f5db3982f8b4a31fcdcff50a4c3e7f6f285c5.zip |
Fix workflow (#618)
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update and rename NotEnoughUpdates-REPO-Workflow.yml to NotEnoughUpdates-REPO-Workflow-PR.yml
* Create NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Delete NotEnoughUpdates-REPO-Workflow-PR.yml
* Update AATROX_BATPHONE.json
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
* remove test
* Update NotEnoughUpdates-REPO-Workflow.yml
* Update NotEnoughUpdates-REPO-Workflow.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/NotEnoughUpdates-REPO-Workflow.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/NotEnoughUpdates-REPO-Workflow.yml b/.github/workflows/NotEnoughUpdates-REPO-Workflow.yml index 8ea5c532..c2d5dc6c 100644 --- a/.github/workflows/NotEnoughUpdates-REPO-Workflow.yml +++ b/.github/workflows/NotEnoughUpdates-REPO-Workflow.yml @@ -12,8 +12,22 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Find HEAD + id: sha + run: | + if [ $EVENT == 'pull_request_target' ] + then + echo "::set-output name=sha::$PR" + else + echo "::set-output name=sha::$HEAD" + fi + env: + EVENT: ${{ github.event_name }} + PR: ${{ github.event.pull_request.head.sha }} + HEAD: ${{ github.context.sha }} - uses: actions/checkout@v2 - + with: + ref: ${{ steps.sha.outputs.sha }} - name: run-checks uses: NotEnoughUpdates/NotEnoughUpdates-REPO-Workflow@main with: |