From af4cb8298eda9ef4f06336c236a040af0c1b96f5 Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:35:38 -0700 Subject: [PATCH 1/3] Update Workflows --- .github/workflows/labeler.yaml | 8 ++++---- .github/workflows/lint.yaml | 20 ++++++++++---------- .github/workflows/pull.yaml | 25 +++++++++++++++++++++++++ .github/workflows/release.yaml | 1 + .github/workflows/tags.yaml | 1 + 5 files changed, 41 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/pull.yaml diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index b24c014..eb36453 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -3,16 +3,16 @@ name: "PR Labeler" on: pull_request_target: -permissions: - pull-requests: write - issues: write - jobs: labeler: name: "Labeler" runs-on: ubuntu-latest timeout-minutes: 5 + permissions: + pull-requests: write + issues: write + steps: - name: "Checkout Configs" uses: actions/checkout@v5 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 3f8b40f..2d372d9 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -10,15 +10,15 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -permissions: - pull-requests: write - jobs: lint: name: "Lint" runs-on: ubuntu-latest timeout-minutes: 5 + permissions: + pull-requests: write + steps: - name: "Checkout" uses: actions/checkout@v5 @@ -43,13 +43,6 @@ jobs: echo "::endgroup::" npx prettier --check . - - name: "Hadolint" - if: ${{ !cancelled() }} - uses: hadolint/hadolint-action@v3.1.0 - with: - dockerfile: Dockerfile - ignore: DL3018 - - name: "Yamllint" if: ${{ !cancelled() }} env: @@ -76,6 +69,13 @@ jobs: echo "::endgroup::" "${RUNNER_TEMP}/actionlint" -color -verbose -shellcheck= -pyflakes= + - name: "Hadolint" + if: ${{ !cancelled() }} + uses: hadolint/hadolint-action@v3.1.0 + with: + dockerfile: Dockerfile + ignore: DL3018 + #- name: "Vale" # if: ${{ !cancelled() }} # uses: errata-ai/vale-action@v2.1.1 diff --git a/.github/workflows/pull.yaml b/.github/workflows/pull.yaml new file mode 100644 index 0000000..81ac338 --- /dev/null +++ b/.github/workflows/pull.yaml @@ -0,0 +1,25 @@ +name: "Pull" + +on: + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + pull: + name: "Pull" + runs-on: ubuntu-latest + timeout-minutes: 5 + + permissions: + pull-requests: write + + steps: + - name: "Checkout" + uses: actions/checkout@v5 + + - name: "NPM Outdated Check" + continue-on-error: true + uses: cssnr/npm-outdated-action@master diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ffe6311..e4c13b4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -9,6 +9,7 @@ jobs: name: "Release" runs-on: ubuntu-latest timeout-minutes: 5 + permissions: contents: write diff --git a/.github/workflows/tags.yaml b/.github/workflows/tags.yaml index 9539e5e..38b5c74 100644 --- a/.github/workflows/tags.yaml +++ b/.github/workflows/tags.yaml @@ -12,6 +12,7 @@ jobs: name: "Tags" runs-on: ubuntu-latest timeout-minutes: 5 + permissions: contents: write From 9bea15203da849d07cc9fe62c7ecf697210b6f0f Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:05:27 -0700 Subject: [PATCH 2/3] Update Workflows --- .github/workflows/lint.yaml | 8 +++++--- .github/workflows/test.yaml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 2d372d9..575127e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -23,9 +23,11 @@ jobs: - name: "Checkout" uses: actions/checkout@v5 - #- name: "Debug event.json" - # run: | - # cat "${GITHUB_EVENT_PATH}" + #- name: "Debug CTX github" + # continue-on-error: true + # env: + # GITHUB_CTX: ${{ toJSON(github) }} + # run: echo "$GITHUB_CTX" - name: "ShellCheck" if: ${{ !cancelled() }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4394d84..8f725b1 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -33,9 +33,11 @@ jobs: - name: "Checkout" uses: actions/checkout@v5 - #- name: "Debug event.json" - # run: | - # cat "${GITHUB_EVENT_PATH}" + #- name: "Debug CTX github" + # continue-on-error: true + # env: + # GITHUB_CTX: ${{ toJSON(github) }} + # run: echo "$GITHUB_CTX" - name: "1: Write YAML" if: ${{ !cancelled() }} From 3c96df938b0f7d63c0844ddb4b9c724ab33e2b46 Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Mon, 6 Oct 2025 23:06:48 -0700 Subject: [PATCH 3/3] Remove pull.yaml --- .github/workflows/pull.yaml | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 .github/workflows/pull.yaml diff --git a/.github/workflows/pull.yaml b/.github/workflows/pull.yaml deleted file mode 100644 index 81ac338..0000000 --- a/.github/workflows/pull.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: "Pull" - -on: - pull_request: - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - pull: - name: "Pull" - runs-on: ubuntu-latest - timeout-minutes: 5 - - permissions: - pull-requests: write - - steps: - - name: "Checkout" - uses: actions/checkout@v5 - - - name: "NPM Outdated Check" - continue-on-error: true - uses: cssnr/npm-outdated-action@master