Skip to content

Bump pytest-cov from 5.0.0 to 6.0.0 #755

Bump pytest-cov from 5.0.0 to 6.0.0

Bump pytest-cov from 5.0.0 to 6.0.0 #755

Workflow file for this run

name: Labeler
on:
pull_request:
types: [opened, reopened, synchronize, edited, labeled]
push:
branches: [ main ]
paths:
- '../labels.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
label-syncer:
name: Syncer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: micnncim/action-label-syncer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
labeler:
name: Set labels
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- name: Label based on changed files and branch name
uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
commenter:
runs-on: ubuntu-latest
steps:
- name: Suggest to add labels
uses: peter-evans/create-or-update-comment@v4
# Execute only when no labels have been applied to the pull request
if: toJSON(github.event.pull_request.labels.*.name) == '{}'
with:
issue-number: ${{ github.event.pull_request.number }}
body: |
Please add one of the following labels to add this contribution to the Release Notes :point_down:
- [bug](https://github.com/ansys/openapi-common/pulls?q=label%3Abug+)
- [documentation](https://github.com/ansys/openapi-common/pulls?q=label%3Adocumentation+)
- [enhancement](https://github.com/ansys/openapi-common/pulls?q=label%3Aenhancement+)
- [maintenance](https://github.com/ansys/openapi-common/pulls?q=label%3Amaintenance+)
changelog-fragment:
name: "Create changelog fragment"
needs: [labeler]
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: ${{ !startsWith( github.event.pull_request.head.ref, 'dependabot/') && !(startsWith(github.event.pull_request.head.ref, 'pre-commit-ci-update-config')) }}
steps:
- uses: ansys/actions/doc-changelog@v8
with:
token: ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
bot-user: ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
bot-email: ${{ secrets.PYANSYS_CI_BOT_EMAIL }}