From b431547ae696d4becdb6b0d5b4b017166bd0e128 Mon Sep 17 00:00:00 2001 From: Angelina Uno-Antonison Date: Mon, 26 Jun 2023 13:40:38 -0500 Subject: [PATCH] Experimenting with the double trigger. (#97) * Experimenting with the double trigger. * Tagging the version of ubuntu being used for ubuntu-latest for consistentcy. ubuntu-22.04 is the current long term support (LTS) version. * Update common-static-analysis.yml Signed-off-by: Angelina Uno-Antonison * Apply suggestions from code review Co-authored-by: James Scherer Signed-off-by: Angelina Uno-Antonison * Update README.md Removed line causing the linting to break. Signed-off-by: Angelina Uno-Antonison --------- Signed-off-by: Angelina Uno-Antonison Signed-off-by: Angelina Uno-Antonison Co-authored-by: James Scherer --- .../workflows/build-and-publish-docker-images.yml | 2 +- .github/workflows/common-static-analysis.yml | 13 ++----------- .github/workflows/draft-paper.yml | 2 +- .github/workflows/nodejs.yml | 2 +- .github/workflows/python.yml | 2 +- .github/workflows/system-tests.yml | 2 +- 6 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-and-publish-docker-images.yml b/.github/workflows/build-and-publish-docker-images.yml index 6eb9762f..77df4320 100644 --- a/.github/workflows/build-and-publish-docker-images.yml +++ b/.github/workflows/build-and-publish-docker-images.yml @@ -11,7 +11,7 @@ env: jobs: build-and-push-image: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/common-static-analysis.yml b/.github/workflows/common-static-analysis.yml index 0516b9b9..c33bce5e 100644 --- a/.github/workflows/common-static-analysis.yml +++ b/.github/workflows/common-static-analysis.yml @@ -1,14 +1,5 @@ name: Markdown, Docker, and Shell Static Analysis -on: - push: - pull_request: - types: - - opened - - synchronize - - reopened - - ready_for_review - - converted_to_draft - workflow_dispatch: +on: [push, pull_request, workflow_dispatch] env: MARKDOWNLINT_CONFIG: etc/static-analysis/markdownlint.json @@ -18,7 +9,7 @@ env: jobs: docker-shell-markdown-static-analysis: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: diff --git a/.github/workflows/draft-paper.yml b/.github/workflows/draft-paper.yml index 4472d4da..ecab15f5 100644 --- a/.github/workflows/draft-paper.yml +++ b/.github/workflows/draft-paper.yml @@ -11,7 +11,7 @@ on: jobs: paper: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 name: JOSS pandoc paper draft steps: - name: Checkout diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 32b2a0a6..5bd5145e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -9,7 +9,7 @@ defaults: jobs: nodejs-ci: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name strategy: diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 361d8d78..e196a7ac 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -10,7 +10,7 @@ env: jobs: python-ci: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name strategy: diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 0a9a2f57..dd80d7df 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -4,7 +4,7 @@ on: [push, pull_request, workflow_dispatch] jobs: system-tests: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name steps: