Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
1cd6436
chore(deps): update andymckay/cancel-action action to v0.3
renovate[bot] Nov 18, 2022
6371b02
chore(deps): update dependency eslint-plugin-github to v4.4.1
renovate[bot] Nov 30, 2022
ca0524d
chore(deps): update dependency @typescript-eslint/parser to v5.44.0
renovate[bot] Nov 30, 2022
0b810da
chore(deps): update dependency eslint to v8.28.0
renovate[bot] Nov 30, 2022
d8143e8
chore(deps): update dependency typescript to v4.9.3
renovate[bot] Dec 1, 2022
6913438
chore(deps): update dependency typescript to v4.9.4
renovate[bot] Dec 31, 2022
8186fda
chore(deps): update dependency @typescript-eslint/parser to v5.47.1
renovate[bot] Dec 31, 2022
131fc79
chore(deps): update dependency @vercel/ncc to ^0.36.0
renovate[bot] Dec 31, 2022
c1c2862
chore(deps): update dependency eslint to v8.30.0
renovate[bot] Jan 1, 2023
a42f47a
build(deps): bump json5 from 1.0.1 to 1.0.2
dependabot[bot] Jan 9, 2023
451cab2
Merge pull request #90 from ravsamhq/dependabot/npm_and_yarn/json5-1.0.2
ravsam-bot[bot] Jan 9, 2023
4bfda5f
chore(deps): update dependency @typescript-eslint/parser to v5.49.0
renovate[bot] Jan 31, 2023
092e669
chore(deps): update dependency eslint to v8.33.0
renovate[bot] Feb 1, 2023
489bb75
chore(deps): update dependency typescript to v4.9.5
renovate[bot] Feb 28, 2023
ea003a2
chore(deps): update dependency @typescript-eslint/parser to v5.53.0
renovate[bot] Feb 28, 2023
bc366c9
chore(deps): update dependency eslint to v8.34.0
renovate[bot] Feb 28, 2023
0d9c6ff
chore(deps): update dependency eslint-plugin-github to v4.6.1
renovate[bot] Mar 1, 2023
4d440cf
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
d15d824
Merge pull request #110 from ravsamhq/dependabot/npm_and_yarn/word-wr…
ravsam-bot[bot] Jul 19, 2023
f9297f7
build(deps-dev): bump @babel/traverse from 7.18.6 to 7.23.2
dependabot[bot] Oct 18, 2023
2c3d14d
Merge pull request #118 from ravsamhq/dependabot/npm_and_yarn/babel/t…
ravsam-bot[bot] Oct 18, 2023
dfb1e35
Added documentation section to explain running the workflow only on a…
joshmfrankel Nov 9, 2023
1bd6e6b
Merge pull request #119 from joshmfrankel/joshmfrankel/update-documen…
ravsam-bot[bot] Nov 13, 2023
cdff362
feat: use node v20 instead of v16 (#124)
ravgeetdhillon Jan 30, 2024
6bed6f7
do-production-release
ravgeetdhillon Jan 30, 2024
ef5c5ec
build: use node20 instead of node16
vmaerten Feb 14, 2024
0c5ec0e
Merge pull request #129 from vmaerten/chore/update-to-node20
ravsam-bot[bot] Feb 20, 2024
934c57a
feat: updated node version from 16 to 20
ravgeetdhillon Feb 20, 2024
be814b2
do-production-release
ravgeetdhillon Feb 20, 2024
d015d0c
build(deps-dev): bump braces from 3.0.2 to 3.0.3
dependabot[bot] Jun 20, 2024
472601e
Merge pull request #131 from ravsamhq/dependabot/npm_and_yarn/braces-…
ravsam-bot[bot] Jun 20, 2024
9e9e5a7
build(deps): bump @octokit/request-error and @actions/github
dependabot[bot] Feb 14, 2025
22c922e
Merge pull request #133 from ravsamhq/dependabot/npm_and_yarn/multi-9…
ravsam-bot[bot] Feb 14, 2025
ca23e81
build(deps): bump @octokit/request from 8.4.0 to 8.4.1
dependabot[bot] Feb 18, 2025
b69ef6d
Merge pull request #134 from ravsamhq/dependabot/npm_and_yarn/octokit…
ravsam-bot[bot] Feb 18, 2025
aee9601
build(deps): bump undici from 5.28.5 to 5.29.0
dependabot[bot] May 15, 2025
e2060a1
Merge pull request #138 from ravsamhq/dependabot/npm_and_yarn/undici-…
ravsam-bot[bot] May 15, 2025
e58b279
build(deps): bump @octokit/plugin-paginate-rest from 9.2.1 to 9.2.2
dependabot[bot] May 15, 2025
9e7ca98
Merge pull request #139 from ravsamhq/dependabot/npm_and_yarn/octokit…
ravsam-bot[bot] May 15, 2025
0b83e29
build(deps-dev): bump form-data from 3.0.1 to 3.0.4
dependabot[bot] Jul 21, 2025
d1b6d18
Merge pull request #140 from ravsamhq/dependabot/npm_and_yarn/form-da…
ravsam-bot[bot] Jul 21, 2025
d6f997e
build(deps-dev): bump js-yaml from 3.14.1 to 3.14.2
dependabot[bot] Nov 17, 2025
f6eea64
Merge pull request #141 from ravsamhq/dependabot/npm_and_yarn/js-yaml…
ravsam-bot[bot] Nov 17, 2025
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Cancel if Next Version is same as Last Version
if: (env.last_version == env.next_version) || env.next_version == ''
uses: andymckay/cancel-action@0.2
uses: andymckay/cancel-action@0.3

- name: Get Major Version related to Next Version
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/test-and-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,17 @@ jobs:
- name: Set up Repository
uses: actions/checkout@v3

- name: Get Node Version
id: node_version
run: |
node_version=`cat .nvmrc`
echo "::set-output name=node_version::$node_version"
echo "Node Version: $node_version"

- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: ${{ steps.node_version.outputs.node_version }}

- name: Cache NPM Dependencies
id: cache-npm-dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v20
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ steps:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} # required
```

### Running a workflow only on the specified branch

To run the notifier for a specific branch, you can utilize the either `github.ref_name` for pushes or `github.head_ref` for pull requests. For example, if you want to run the notifier only on the **origin/main** branch for pushes the following would constrain the workflow to that branch:

```yaml
steps:
- name: Notify Slack Action
uses: ravsamhq/[email protected]
if: ${{ always() && github.ref_name == 'main' }}
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: "{workflow} is failing"
env:
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }}
```

### Extended Example without User Mentions

![](screenshots/without-mentions.png)
Expand All @@ -43,7 +60,6 @@ steps:
notification_title: "{workflow} has {status_message}"
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>"
footer: "Linked Repo <{repo_url}|{repo}> | <{workflow_url}|View Workflow>"
notify_when: "failure"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,5 @@ branding:
color: blue

runs:
using: "node16"
using: "node20"
main: "dist/index.js"
Loading