Add a Changes object to the PullRequestEvent object so we can see what changed in edited PR events #288
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: Require semver:* and unreleased Label | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: buildsville/[email protected] | |
if: github.event.action == 'opened' | |
with: | |
token: ${{secrets.GITHUB_TOKEN}} | |
labels: Unreleased | |
type: add | |
# - uses: mheap/github-action-required-labels@v3 | |
# with: | |
# mode: exactly | |
# count: 1 | |
# labels: "semver:patch, semver:minor, semver:major" | |
# token: ${{secrets.GITHUB_TOKEN}} | |
# add_comment: Add a semantic version label (semver:patch semver:minor semver:major) | |
# - uses: mheap/github-action-required-labels@v3 | |
# with: | |
# mode: exactly | |
# count: 1 | |
# labels: "unreleased" | |
# token: ${{secrets.GITHUB_TOKEN}} | |
# add_comment: The unrelease label is required to track which PRs have yet to be released. |