Add aliases to islands.json (#990) #1834
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: NotEnoughUpdates REPO Workflow | |
# Controls when the action will run. | |
on: | |
pull_request_target: | |
branches: [ master ] | |
push: | |
branches: [ master ] | |
workflow_dispatch: | |
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: | |
repo-token: ${{secrets.GITHUB_TOKEN}} |