Merge pull request #11896 from mmorel-35/patch-1

Use secrets.GITHUB_TOKEN and clean up workflows
This commit is contained in:
Julien Pivotto 2023-01-26 09:15:57 +01:00 committed by GitHub
commit 3a43736a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 9 deletions

View file

@ -1,5 +1,5 @@
name: buf.build name: buf.build
on: # yamllint disable-line rule:truthy on:
pull_request: pull_request:
paths: paths:
- ".github/workflows/buf-lint.yml" - ".github/workflows/buf-lint.yml"
@ -11,6 +11,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.9.0 - uses: bufbuild/buf-setup-action@v1.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1 - uses: bufbuild/buf-lint-action@v1
with: with:
input: 'prompb' input: 'prompb'

View file

@ -1,5 +1,5 @@
name: buf.build name: buf.build
on: # yamllint disable-line rule:truthy on:
push: push:
branches: branches:
- main - main
@ -10,6 +10,8 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: bufbuild/buf-setup-action@v1.9.0 - uses: bufbuild/buf-setup-action@v1.9.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: bufbuild/buf-lint-action@v1 - uses: bufbuild/buf-lint-action@v1
with: with:
input: 'prompb' input: 'prompb'

View file

@ -1,6 +1,6 @@
--- ---
name: CI name: CI
on: # yamllint disable-line rule:truthy on:
pull_request: pull_request:
push: push:
jobs: jobs:

View file

@ -1,7 +1,7 @@
--- ---
name: "CodeQL" name: "CodeQL"
on: # yamllint disable-line rule:truthy on:
workflow_call: workflow_call:
schedule: schedule:
- cron: "26 14 * * 1" - cron: "26 14 * * 1"

View file

@ -1,4 +1,4 @@
on: # yamllint disable-line rule:truthy on:
repository_dispatch: repository_dispatch:
types: [funcbench_start] types: [funcbench_start]
name: Funcbench Workflow name: Funcbench Workflow

View file

@ -1,5 +1,5 @@
name: CIFuzz name: CIFuzz
on: # yamllint disable-line rule:truthy on:
workflow_call: workflow_call:
jobs: jobs:
Fuzzing: Fuzzing:

View file

@ -1,6 +1,6 @@
name: 'Lock Threads' name: 'Lock Threads'
on: # yamllint disable-line rule:truthy on:
schedule: schedule:
- cron: '13 23 * * *' - cron: '13 23 * * *'
workflow_dispatch: workflow_dispatch:

View file

@ -1,4 +1,4 @@
on: # yamllint disable-line rule:truthy on:
repository_dispatch: repository_dispatch:
types: [prombench_start, prombench_restart, prombench_stop] types: [prombench_start, prombench_restart, prombench_stop]
name: Prombench Workflow name: Prombench Workflow

View file

@ -1,6 +1,6 @@
--- ---
name: Sync repo files name: Sync repo files
on: # yamllint disable-line rule:truthy on:
schedule: schedule:
- cron: '44 17 * * *' - cron: '44 17 * * *'
jobs: jobs: