Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
440c5dc
Add inputs to input
sue445 Apr 11, 2024
38bb11c
Notify jobInputs
sue445 Apr 11, 2024
86f4bbf
Add example images
sue445 Apr 11, 2024
e438aa5
Write doc
sue445 Apr 11, 2024
d2d8b23
Merge pull request #275 from sue445/add_inputs_input
satterly Sep 3, 2024
ae4545c
Bump cross-spawn from 7.0.3 to 7.0.6
dependabot[bot] Nov 20, 2024
131f371
Bump axios from 1.6.8 to 1.7.9
dependabot[bot] Feb 14, 2025
fe61407
Merge pull request #281 from act10ns/dependabot/npm_and_yarn/axios-1.7.9
satterly Mar 29, 2026
3bfed01
Bump handlebars from 4.7.7 to 4.7.9
dependabot[bot] Mar 29, 2026
c608aa1
Bump axios from 1.7.9 to 1.14.0
dependabot[bot] Mar 29, 2026
b2ddbbf
Bump minimatch from 3.1.2 to 3.1.5
dependabot[bot] Mar 29, 2026
61007f4
Bump flatted from 3.2.2 to 3.4.2
dependabot[bot] Mar 29, 2026
2b0bf03
Bump picomatch from 2.3.1 to 2.3.2
dependabot[bot] Mar 29, 2026
95236d2
Bump Node.js runtime from 20 to 24
satterly Mar 29, 2026
b28c2a8
Merge pull request #290 from act10ns/fix/bump-node-24
satterly Mar 29, 2026
8c9d6e1
Filter out steps with auto-generated hex hash IDs
satterly Mar 29, 2026
c4c7009
Fix formatting and remove dist from version control
satterly Mar 29, 2026
0ff5aba
Restore dist/ from master
satterly Mar 29, 2026
7f20f05
Add retry logic for Slack webhook send
satterly Mar 29, 2026
724d38c
Merge pull request #291 from act10ns/fix/filter-unnamed-steps
satterly Mar 29, 2026
a381f14
Merge pull request #292 from act10ns/fix/retry-slack-send
satterly Mar 29, 2026
4604357
Add workflow-level status example to README
satterly Mar 29, 2026
69ab631
Merge pull request #293 from act10ns/docs/workflow-status-example
satterly Mar 29, 2026
764d72b
Support multiple notification channels
satterly Mar 29, 2026
366403d
Add test for multi-channel send
satterly Mar 29, 2026
e310ca2
Document all supported template variables in README
satterly Mar 29, 2026
f90cd3f
Merge pull request #294 from act10ns/feat/multi-channel
satterly Mar 29, 2026
70411ae
Merge pull request #295 from act10ns/docs/template-variables
satterly Mar 29, 2026
8de2fe7
Add blocks_only config option for blocks-only messages
satterly Mar 29, 2026
dec48f2
Merge pull request #296 from act10ns/feat/blocks-only
satterly Mar 29, 2026
0f7cf7f
Sanitize user-controlled data to prevent Handlebars injection
satterly Mar 29, 2026
7828e69
Merge pull request #297 from act10ns/fix/sanitize-template-data
satterly Mar 29, 2026
e8ecd46
Add CLAUDE.md and fix README issues
satterly Mar 29, 2026
b62fa2e
Merge pull request #298 from act10ns/chore/claude-md-and-readme-fixes
satterly Mar 29, 2026
e79e49f
Warn when custom config file is not found
satterly Mar 29, 2026
3ea8756
Merge pull request #299 from act10ns/fix/warn-missing-config
satterly Mar 29, 2026
210dab7
Add CI workflow to auto-rebuild dist on merge to master
satterly Mar 29, 2026
df2df82
Merge pull request #300 from act10ns/ci/auto-rebuild-dist
satterly Mar 29, 2026
7e9306a
Merge pull request #277 from act10ns/dependabot/npm_and_yarn/cross-sp…
satterly Mar 29, 2026
c73e9b2
Merge pull request #287 from act10ns/dependabot/npm_and_yarn/minimatc…
satterly Mar 29, 2026
9e39a0b
Merge pull request #288 from act10ns/dependabot/npm_and_yarn/flatted-…
satterly Mar 29, 2026
6972e9c
Merge pull request #289 from act10ns/dependabot/npm_and_yarn/picomatc…
satterly Mar 29, 2026
689dfe0
Rebuild dist [skip ci]
github-actions[bot] Mar 29, 2026
cc49177
Merge pull request #285 from act10ns/dependabot/npm_and_yarn/handleba…
satterly Mar 29, 2026
27d94b3
Merge pull request #286 from act10ns/dependabot/npm_and_yarn/axios-1.…
satterly Mar 29, 2026
9b6eafd
Rebuild dist [skip ci]
github-actions[bot] Mar 29, 2026
ffe143e
Bump js-yaml
dependabot[bot] Mar 29, 2026
e108fcc
Merge pull request #301 from act10ns/dependabot/npm_and_yarn/multi-75…
satterly Mar 29, 2026
d96404e
Rebuild dist [skip ci]
github-actions[bot] Mar 29, 2026
c8f650f
Bump actions/checkout to v6 and actions/setup-node to v6
satterly Mar 29, 2026
47ae9f2
Merge pull request #305 from act10ns/chore/bump-actions-v5
satterly Mar 29, 2026
b89e445
Migrate from ncc to esbuild, upgrade @actions/github to v9
satterly Mar 29, 2026
3d914a9
Upgrade eslint to v9 with flat config, fix lint warnings
satterly Mar 29, 2026
8dd36cd
Merge pull request #306 from act10ns/feat/esbuild-migration
satterly Mar 29, 2026
13c3f12
Rebuild dist [skip ci]
github-actions[bot] Mar 29, 2026
c627ff6
Fix JSON control character error in blocks template
satterly Mar 29, 2026
3672dca
Use JSON.stringify for proper escaping instead of regex chain
satterly Mar 29, 2026
c3022de
Merge pull request #307 from act10ns/fix/json-control-chars
satterly Mar 29, 2026
c12eb23
Rebuild dist [skip ci]
github-actions[bot] Mar 29, 2026
8dd9209
Remove [skip ci] from rebuild-dist commit message
satterly Mar 29, 2026
e3d6f69
Merge pull request #308 from act10ns/fix/rebuild-dist-trigger-ci
satterly Mar 29, 2026
e61fb7e
Build dist before using action in test and lint jobs
satterly Mar 29, 2026
77a5bc1
Merge pull request #309 from act10ns/fix/test-build-before-use
satterly Mar 29, 2026
8849a82
Escape JSON control characters in payload and description
satterly Mar 29, 2026
d27e739
Merge pull request #310 from act10ns/fix/escape-newlines-in-payload
satterly Mar 29, 2026
0d50b6c
Rebuild dist
github-actions[bot] Mar 29, 2026
18dda10
Update CLAUDE.md with recent patterns and CI workflows
satterly Mar 29, 2026
2f01f46
Merge pull request #311 from act10ns/chore/update-claude-md
satterly Mar 29, 2026
4cde2da
:recycle: making Claude-suggested security improvements
d2cc May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

56 changes: 0 additions & 56 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .github/slack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ fields:
- title: Job Matrix
value: "{{#each jobMatrix}}{{@key}}: {{this}}\n{{/each}}"
short: false
- title: Job Inputs
value: "{{#each jobInputs}}{{@key}}: {{this}}\n{{/each}}"
short: false
- title: Workflow
value: "<{{{workflowUrl}}}|{{workflow}}>"
short: true
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@53e96ec3b35fce51c141c0d6f0e31028a448722d # v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@53e96ec3b35fce51c141c0d6f0e31028a448722d # v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +69,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@53e96ec3b35fce51c141c0d6f0e31028a448722d # v3
9 changes: 7 additions & 2 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ on:
repository_dispatch:
types: [custom]

permissions:
contents: read

jobs:
custom:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- id: build
run: |
npm install
npm ci
npm run all
- uses: ./
with:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "manual-test"
on: workflow_dispatch

permissions:
contents: read

env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

Expand All @@ -9,10 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- id: build
run: |
npm install
npm ci
npm run all
- uses: ./
with:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/rebuild-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: "rebuild-dist"
on:
push:
branches:
- master
paths:
- 'src/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'

permissions:
contents: write

jobs:
rebuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 24
- run: npm ci
- run: npm run build
- run: npm run package
- name: Check for changes
id: diff
run: |
if git diff --quiet dist/; then
echo "changed=false" >> "$GITHUB_OUTPUT"
else
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Commit and push
if: steps.diff.outputs.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist/
git commit -m "Rebuild dist"
git push
9 changes: 7 additions & 2 deletions .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
schedule:
- cron: '0 10 * * *'

permissions:
contents: read

env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

Expand All @@ -11,10 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- id: build
run: |
npm install
npm ci
npm run all
- uses: ./
with:
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,94 +8,94 @@ on: # rebuild any PRs and main branch changes
tags:
- 'v*'

env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
permissions:
contents: read

jobs:
lint:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
- id: build
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- id: install
run: |
npm install
npm ci
- id: format-check
run: |
npm run format-check
- id: lint
run: |
npm run lint
- run: npm run build && npm run package
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
channel: '#actions'
message: lint error
if: failure()
if: ${{ failure() && github.event_name != 'pull_request' }}

test:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: install-and-build
run: |
npm ci
npm run build
npm run package
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: starting
channel: '#actions'
- id: dump_github
name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- id: dump_job
name: Dump job context
env:
JOB_CONTEXT: ${{ toJson(job) }}
run: echo "$JOB_CONTEXT"
- id: dump_steps
name: Dump steps context
env:
STEPS_CONTEXT: ${{ toJson(steps) }}
run: echo "$STEPS_CONTEXT"
if: ${{ github.event_name != 'pull_request' }}
- id: test
run: |
npm install
npm run test
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#actions'
config: __tests__/fixtures/slack-legacy.yml
if: always()
if: ${{ always() && github.event_name != 'pull_request' }}
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#actions'
config: __tests__/fixtures/slack-blocks.yml
if: always()
if: ${{ always() && github.event_name != 'pull_request' }}

build:
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- id: install-nodejs
uses: actions/setup-node@v4
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
node-version: 20
node-version: 24
- id: build
run: |
npm install
npm ci
npm run all
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
channel: '#actions'
if: always()
if: ${{ always() && github.event_name != 'pull_request' }}
11 changes: 9 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
# - completed
# - requested

permissions:
contents: read

env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

Expand All @@ -15,7 +18,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: ./
with:
webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand All @@ -28,7 +33,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: ./
with:
status: ${{ github.event.workflow_run.conclusion }}
Expand Down
Loading
Loading