build(deps): update github/codeql-action action to v3 #15402
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: PR Bot | |
on: | |
pull_request: | |
branches: [main, rc, dev] | |
permissions: | |
pull-requests: write | |
issues: write | |
jobs: | |
assign-and-label: | |
if: github.event.pull_request.user.login != 'dependabot[bot]' && github.event.pull_request.user.login != 'renovate[bot]' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Assign author" | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const action = require('${{ github.workspace }}/.github/scripts/assignPullRequestAuthor.js') | |
await action({github, context, core}) | |
- name: "Add commit type label" | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const action = require('${{ github.workspace }}/.github/scripts/labelPullRequestWithCommitType.js') | |
await action({github, context, core}) |