Rename step to print lines before failing #6
This file contains hidden or 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: ci | |
| on: | |
| push: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| dummy: | |
| name: 'Checkout' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Print pull request number as annotation | |
| run: | | |
| if [ "${{ github.event_name }}" = "pull_request" ]; then | |
| echo "::notice title=Pull Request Number::The PR number is ${{ github.event.number }}" | |
| fi | |
| - name: Checkout repo | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - name: Print 200 lines then fail | |
| run: | | |
| for i in $(seq 1 200); do | |
| echo "Dummy line $i" | |
| done | |
| false |