From d032a4f9096db75d99c87900530fa73870af1be3 Mon Sep 17 00:00:00 2001 From: Joey Orlando Date: Thu, 13 Jun 2024 13:43:21 -0400 Subject: [PATCH] minor github actions yml formatting --- .github/workflows/issue_commands.yml | 4 +++- .github/workflows/on-issue-creation.yml | 2 +- .github/workflows/publish-technical-documentation-next.yml | 3 ++- .github/workflows/publish-technical-documentation-release.yml | 3 ++- .github/workflows/triage-stale-pull-requests.yml | 3 ++- .github/workflows/update-make-docs.yml | 4 +++- .github/workflows/verify-public-docs-updated.yml | 2 +- .github/workflows/verify-release-label-added.yml | 2 +- 8 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.github/workflows/issue_commands.yml b/.github/workflows/issue_commands.yml index eb1e319f..c5790042 100644 --- a/.github/workflows/issue_commands.yml +++ b/.github/workflows/issue_commands.yml @@ -1,9 +1,11 @@ name: Run commands when issues are labeled -"on": + +on: issues: types: [labeled] pull_request: types: [labeled] + jobs: main: runs-on: ubuntu-latest diff --git a/.github/workflows/on-issue-creation.yml b/.github/workflows/on-issue-creation.yml index bb4b94a8..b1040e49 100644 --- a/.github/workflows/on-issue-creation.yml +++ b/.github/workflows/on-issue-creation.yml @@ -1,6 +1,6 @@ name: On issue creation -"on": +on: issues: types: - opened diff --git a/.github/workflows/publish-technical-documentation-next.yml b/.github/workflows/publish-technical-documentation-next.yml index ec058364..80acbd23 100644 --- a/.github/workflows/publish-technical-documentation-next.yml +++ b/.github/workflows/publish-technical-documentation-next.yml @@ -1,12 +1,13 @@ name: "Publish Technical Documentation (next)" -"on": +on: push: branches: - "main" paths: - "docs/sources/**" workflow_dispatch: + jobs: test: runs-on: "ubuntu-latest" diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index 9a850dd7..5e8b1e00 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -1,6 +1,6 @@ name: "Publish Technical Documentation (release)" -"on": +on: push: branches: - "release-*" @@ -9,6 +9,7 @@ name: "Publish Technical Documentation (release)" paths: - "docs/sources/**" workflow_dispatch: + jobs: test: runs-on: "ubuntu-latest" diff --git a/.github/workflows/triage-stale-pull-requests.yml b/.github/workflows/triage-stale-pull-requests.yml index 785d13d4..c363263e 100644 --- a/.github/workflows/triage-stale-pull-requests.yml +++ b/.github/workflows/triage-stale-pull-requests.yml @@ -1,5 +1,6 @@ name: "Triage stale pull requests" -"on": + +on: schedule: - cron: "30 1 * * *" diff --git a/.github/workflows/update-make-docs.yml b/.github/workflows/update-make-docs.yml index cda2f5fd..c46b899f 100644 --- a/.github/workflows/update-make-docs.yml +++ b/.github/workflows/update-make-docs.yml @@ -1,8 +1,10 @@ name: Update `make docs` procedure -"on": + +on: schedule: - cron: "0 7 * * 1-5" workflow_dispatch: + jobs: main: if: github.repository == 'grafana/oncall' diff --git a/.github/workflows/verify-public-docs-updated.yml b/.github/workflows/verify-public-docs-updated.yml index ece561e7..63a5f865 100644 --- a/.github/workflows/verify-public-docs-updated.yml +++ b/.github/workflows/verify-public-docs-updated.yml @@ -1,6 +1,6 @@ name: Verify public documentation updated -"on": +on: pull_request: types: [assigned, opened, synchronize, reopened, labeled, unlabeled] branches: diff --git a/.github/workflows/verify-release-label-added.yml b/.github/workflows/verify-release-label-added.yml index d59d07ed..617e55de 100644 --- a/.github/workflows/verify-release-label-added.yml +++ b/.github/workflows/verify-release-label-added.yml @@ -1,6 +1,6 @@ name: Verify Release Label Added -"on": +on: pull_request: types: - opened