Skip to content

Commit 89ad777

Browse files
committed
kebab-case names and fix commit message
1 parent 9fde84c commit 89ad777

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Diff for: .github/workflows/update_dependencies.yml renamed to .github/workflows/update-dependencies.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: Update dependencies
22
on:
33
schedule:
4-
# Run automatically at 6AM PST Tuesday
5-
- cron: '0 6 * * 2'
4+
# Run automatically at 7AM PST Tuesday
5+
- cron: '0 14 * * 2'
66
workflow_dispatch:
77

88
jobs:
9-
update_dependencies_and_test:
9+
update-dependencies-and-test:
1010
name: Update Dependencies & Test
1111
runs-on: ubuntu-latest
1212
timeout-minutes: 20
@@ -30,10 +30,10 @@ jobs:
3030

3131
- run: mvn install -Dgpg.skip -Dmaven.javadoc.skip=true -B -V
3232

33-
commit_dependencies:
33+
commit-dependencies:
3434
name: Commit Updated Dependencies
3535
if: success()
36-
needs: [ update_dependencies_and_test ]
36+
needs: [ update-dependencies-and-test ]
3737
runs-on: ubuntu-latest
3838
steps:
3939
- name: Checkout java-http-client
@@ -47,19 +47,19 @@ jobs:
4747
with:
4848
add: 'pom.xml'
4949
default_author: 'github_actions'
50-
message: 'Chore: update sendgrid-java dependencies'
50+
message: 'chore: update java-http-client dependencies'
5151

5252
notify-on-failure:
5353
name: Slack notify on failure
5454
if: failure()
55-
needs: [ update_dependencies_and_test, commit_dependencies ]
55+
needs: [ update-dependencies-and-test, commit-dependencies ]
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: rtCamp/action-slack-notify@v2
5959
env:
6060
SLACK_COLOR: failure
6161
SLACK_ICON_EMOJI: ':github:'
62-
SLACK_MESSAGE: ${{ format('Update dependencies *{0}*, commit dependencies *{1}*, {2}/{3}/actions/runs/{4}', needs.update_dependencies_and_test.result, needs.commit_dependencies.result, github.server_url, github.repository, github.run_id) }}
62+
SLACK_MESSAGE: ${{ format('Update dependencies *{0}*, commit dependencies *{1}*, {2}/{3}/actions/runs/{4}', needs.update-dependencies-and-test.result, needs.commit-dependencies.result, github.server_url, github.repository, github.run_id) }}
6363
SLACK_TITLE: Action Failure - ${{ github.repository }}
6464
SLACK_USERNAME: GitHub Actions
6565
SLACK_MSG_AUTHOR: twilio-dx

0 commit comments

Comments
 (0)