Bump squizlabs/php_codesniffer from 3.11.0 to 3.11.1 #1171
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: Release Drafter | |
on: | |
push: | |
branches: | |
- 2.x | |
pull_request_target: | |
types: [opened, synchronize, reopened, labeled, unlabeled] | |
jobs: | |
require_label: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
if: github.event_name == 'pull_request_target' | |
steps: | |
- run: gh pr view --json labels https://github.com/$GITHUB_REPOSITORY/pull/$GITHUB_PR | jq -r '.labels[0].name' | grep -q 'null' && echo "You must apply at least one label" && exit 1 || exit 0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GITHUB_PR: ${{ github.event.pull_request.number }} | |
update_release_draft: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: read | |
steps: | |
- uses: release-drafter/release-drafter@v6 | |
with: | |
config-name: release-drafter-2.x.yml # located in .github/ in default branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |