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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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