fix: make gender input case-insensitive and clean up pre-commit config #734
Workflow file for this run
This file contains hidden or 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: Process Dependabot PRs | |
on: | |
pull_request: | |
types: [opened, reopened] | |
permissions: {} | |
jobs: | |
process-dependabot-prs: | |
permissions: | |
pull-requests: read | |
contents: write | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
steps: | |
- name: Fetch Dependabot metadata | |
id: dependabot-metadata | |
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0 | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
persist-credentials: false | |
- name: Update Version Number in Other Files | |
uses: jacobtomlinson/gha-find-replace@f1069b438f125e5395d84d1c6fd3b559a7880cb5 # v3 | |
with: | |
find: ${{ steps.dependabot-metadata.outputs.previous-version }} | |
replace: ${{ steps.dependabot-metadata.outputs.new-version }} | |
regex: false | |
exclude: CHANGES.rst | |
- name: Commit & Push Changes to PR | |
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4 | |
with: | |
message: 'Update version number in other files' | |
committer_name: GitHub Actions | |
committer_email: 41898282+github-actions[bot]@users.noreply.github.com |