Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/codeql-autogenerated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
# only required for workflows in private repositories
actions: read
contents: read
issues: write # Added for creating issues on failure

strategy:
fail-fast: false
Expand Down Expand Up @@ -69,3 +70,11 @@ jobs:
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis for autogenerated
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "CodeQL Advanced - autogenerated failed"
body: "The daily scheduled task CodeQL Advanced - autogenerated failed."
mention: "@googleapis/cloud-sdk-nodejs-team"
9 changes: 9 additions & 0 deletions .github/workflows/codeql-handwritten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
# only required for workflows in private repositories
actions: read
contents: read
issues: write # Added for creating issues on failure

strategy:
fail-fast: false
Expand Down Expand Up @@ -69,3 +70,11 @@ jobs:
build-mode: ${{ matrix.build-mode }}
- name: Perform CodeQL Analysis for handwritten
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "CodeQL Advanced - handwritten failed"
body: "The daily scheduled task CodeQL Advanced - handwritten failed."
mention: "@googleapis/cloud-sdk-nodejs-team"
9 changes: 9 additions & 0 deletions .github/workflows/codeql-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
# only required for workflows in private repositories
actions: read
contents: read
issues: write # Added for creating issues on failure

strategy:
fail-fast: false
Expand Down Expand Up @@ -70,3 +71,11 @@ jobs:

- name: Perform CodeQL Analysis for repo meta
uses: github/codeql-action/analyze@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2

- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "CodeQL Advanced - repo meta failed"
body: "The daily scheduled task CodeQL Advanced - repo meta failed."
mention: "@googleapis/cloud-sdk-nodejs-team"
10 changes: 10 additions & 0 deletions .github/workflows/discovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ name: Update Discovery Generated Types
jobs:
sync:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write # Added for creating issues on failure
steps:
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with:
Expand Down Expand Up @@ -41,3 +44,10 @@ jobs:
git_dir: '.'
fork: true
force: true
- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "Update Discovery Generated Types failed"
body: "The weekly scheduled task to update Discovery Generated Types failed."
mention: "@googleapis/cloud-sdk-nodejs-team" # Can be updated to @googleapis/bigquery-team if preferred
7 changes: 7 additions & 0 deletions .github/workflows/response.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ jobs:
script: |
const script = require('./.github/scripts/close-unresponsive.cjs')
await script({github, context})
- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "Close unresponsive issues failed"
body: "The daily scheduled task to close unresponsive issues failed."
mention: "@googleapis/cloud-sdk-nodejs-team"

remove_label:
if: github.event_name == 'issue_comment'
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/update-api-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
update-api-list:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write # Added for creating issues on failure
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
Expand All @@ -33,3 +36,10 @@ jobs:
message: 'docs: update the list of available APIs'
branch: update-api-list
git_dir: '.'
- name: Create issue on failure
if: ${{ failure() }}
uses: googleapis/librarian/.github/actions/create-issue-on-failure@baf9b8078c5e98cb90b53088f284fb7b060e195b # main
with:
title: "Update API list failed"
body: "The daily scheduled task to update the API list failed."
mention: "@googleapis/cloud-sdk-nodejs-team"
Loading