Bump expect from 29.6.1 to 29.6.2 #4642
Workflow file for this run
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: Pull Request Fail | |
on: pull_request_target | |
jobs: | |
pull-request-fail: | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
set -euo pipefail | |
date | |
sleep 30 | |
make_pr_fail="$(curl -sSfL -H 'Authorization: token ${{ github.token }}' '${{ github.event.pull_request.url }}' | jq -r '.labels | any(.name == "make-pr-fail")')" | |
if [[ "${make_pr_fail}" == 'true' ]]; then | |
exit 1 | |
fi |