Rename job and workflow names

This commit is contained in:
Hiroshi SHIBATA 2023-02-27 17:36:14 +09:00
parent f21f51915e
commit ae4d8e99f1
Notes: git 2023-02-27 08:58:18 +00:00

View File

@ -1,4 +1,4 @@
name: "Code scanning - action" name: "CodeQL"
on: on:
# push: # push:
@ -27,14 +27,13 @@ permissions: # added using https://github.com/step-security/secure-workflows
contents: read contents: read
jobs: jobs:
CodeQL-Build: analyze:
name: Analyze
# CodeQL runs on ubuntu-latest and windows-latest runs-on: ubuntu-latest
permissions: permissions:
actions: read # for github/codeql-action/init to get workflow details actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report security-events: write # for github/codeql-action/autobuild to send a status report
runs-on: ubuntu-latest
# CodeQL fails to run pull requests from dependabot due to missing write access to upload results. # CodeQL fails to run pull requests from dependabot due to missing write access to upload results.
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') && github.event.head_commit.pusher.name != 'dependabot[bot]' }} if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') && github.event.head_commit.pusher.name != 'dependabot[bot]' }}