removing the testfile #18
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: Check lint failure | |
on: | |
pull_request: | |
types: | |
- opened | |
# branches: | |
# - $default-branch | |
concurrency: | |
group: ${{github.workflow}}-${{github.ref}} | |
cancel-in-progress: true | |
jobs: | |
comment_on_lint_failure: | |
name: Comment on lint failure | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
ref: "refs/pull/${{ github.event.number }}/merge" | |
- name: Fail the Build | |
uses: cutenode/action-always-fail@v1.0.0 | |
- name: Save PR number | |
if: ${{ failure() }} | |
run: | | |
mkdir -p ./pr | |
echo ${{ github.event.number }} > ./pr/pr-number | |
- uses: actions/upload-artifact@v4 | |
if: ${{ failure() }} | |
with: | |
name: pr-number | |
path: pr/pr-number |