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

Use secrets.GITHUB_TOKEN and clean up workflows
pull/11898/head
Julien Pivotto 2 years ago committed by GitHub
commit 3a43736a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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'

@ -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'

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

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

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

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

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

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

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

Loading…
Cancel
Save