Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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/actions_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
script:
description: "Specify the build script to run"
required: false
default: "yarn build"
default: "npm run build"

permissions:
contents: read
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/audit_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ name: Yarn Audit Fix Run
on:
workflow_dispatch:
inputs:
force:
description: "Use --force flag for npm audit fix?"
required: true
type: boolean
base_branch:
description: "Specify a base branch"
required: false
default: "main"
package_manager:
description: "Specify package manager (npm or yarn)"
required: false
default: "yarn"
script:
description: "Specify the build script to run"
required: false
type: string
default: "yarn build"
default: "npm run build"

schedule:
- cron: "0 0 * * 1"
Expand All @@ -25,7 +25,6 @@ jobs:
uses: step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
with:
base_branch: ${{ github.event.inputs.base_branch || 'main' }}
package_manager: "yarn"
script: ${{ github.event.inputs.script || 'yarn build' }}

permissions:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/auto_cherry_pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ on:
description: "Base branch to create the PR against"
required: true
default: "main"
package_manager:
description: "Specify package manager (npm or yarn)"
required: false
default: "yarn"
script:
description: "Specify a script to run after audit fix"
required: false
default: "yarn build"
default: "npm run build"
mode:
description: "Run mode: cherry-pick or verify"
required: false
Expand All @@ -37,6 +33,6 @@ jobs:
repo-name: "github-actions-slack"
base_branch: ${{ inputs.base_branch }}
package_manager: "yarn"
script: ${{ inputs.script || 'yarn build' }}
script: ${{ inputs.script || 'npm run build' }}
mode: ${{ github.event_name == 'pull_request' && 'verify' || inputs.mode }}

10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ on: [push, pull_request, issues]

jobs:
slack-notifications:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Sends a message to Slack when a push, a pull request or an issue is made
steps:
- name: Send message to Slack API
Expand All @@ -141,7 +141,7 @@ on: [push, pull_request, issues]

jobs:
slack-notification-with-optional-parameters:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Sends a message to Slack when a push, a pull request or an issue is made
steps:
- name: Send message to Slack API
Expand Down Expand Up @@ -179,7 +179,7 @@ on: [push, issues]

jobs:
slack-thread:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Sends a message to Slack when a push, a pull request or an issue is made

steps:
Expand Down Expand Up @@ -249,7 +249,7 @@ on: [push, issues]

jobs:
slack-reaction:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: Sends a message to Slack when a push, a pull request or an issue is made

steps:
Expand Down Expand Up @@ -354,7 +354,7 @@ on: push

jobs:
one:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Dump GitHub context
env:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,5 @@ outputs:
slack-result:
description: "The result from the post to slack"
runs:
using: "node20"
using: "node24"
main: "dist/index.js"
Loading
Loading