Skip to content

build(deps-dev): bump pytest from 7.4.0 to 7.4.2 #166

build(deps-dev): bump pytest from 7.4.0 to 7.4.2

build(deps-dev): bump pytest from 7.4.0 to 7.4.2 #166

---
name: release drafter
on:
pull_request_target:
types: [ opened, reopened, labeled, unlabeled, closed ]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
# Use of release drafter action for adding semantic labels based on
# either title, body or source branch name
- name: apply label
if: ${{ github.event.action == 'opened' }}
uses: release-drafter/release-drafter@v5
with:
disable-autolabeler: false
disable-releaser: true
config-name: release-drafter.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# ensure that one of the required labels is present
# see jesusvasquez333/verify-pr-label-action
- name: verify PR label action
uses: jesusvasquez333/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
valid-labels: "bug, breaking, dependencies, deprecated, docs, documentation,
enhancement, feature, fix, major, refactoring, skip-changelog"
invalid-labels: "help wanted, invalid, feedback-needed, incomplete"
pull-request-number: ${{ github.event.pull_request.number }}
disable-reviews: true
drafter-update:
if: ${{ github.event.pull_request.merged }}
runs-on: ubuntu-latest
needs: [ triage ]
steps:
- name: checkout
uses: actions/checkout@v3
- name: update release notes if already merged
id: update-release-notes
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
tag_name: ${{ steps.update-release-notes.outputs.tag_name }}
version-update:
if: ${{ github.event.pull_request.merged }}
needs: [ drafter-update ]
uses: ./.github/workflows/version.yaml
with:
tag: ${{ needs.drafter-update.outputs.tag_name }}