Use github-push-action for simplifying push
This commit is contained in:
parent
04564daa6d
commit
ccd2f58462
2 changed files with 12 additions and 4 deletions
8
.github/workflows/dependabot-js.yml
vendored
8
.github/workflows/dependabot-js.yml
vendored
|
@ -36,9 +36,13 @@ jobs:
|
|||
- run: yarn install --frozen-lockfile
|
||||
- name: rebuild NOTICE-js
|
||||
run: yarn notice:js -u
|
||||
- name: commit and push to branch
|
||||
- name: commit to branch
|
||||
run: |
|
||||
git config --global user.name 'Houdini NOTICE-js worker'
|
||||
git config --global user.email 'wwahammy@users.noreply.github.com'
|
||||
git commit -am "Updated NOTICE-js (Houdini NOTICE-js worker)"
|
||||
git push
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action
|
||||
with:
|
||||
github_token: ${{ secrets.NOTICE_WORKER_PAT }}
|
||||
branch: ${{ github.ref }}
|
||||
|
|
8
.github/workflows/dependabot-ruby.yml
vendored
8
.github/workflows/dependabot-ruby.yml
vendored
|
@ -37,9 +37,13 @@ jobs:
|
|||
bundle install --jobs 4
|
||||
- name: rebuild NOTICE-ruby
|
||||
run: bin/rails notice:ruby:update
|
||||
- name: commit and push to branch
|
||||
- name: commit
|
||||
run: |
|
||||
git config --global user.name 'Houdini NOTICE-ruby worker'
|
||||
git config --global user.email 'wwahammy@users.noreply.github.com'
|
||||
git commit -am "Updated NOTICE-ruby (Houdini NOTICE-ruby worker)"
|
||||
git push
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action
|
||||
with:
|
||||
github_token: ${{ secrets.NOTICE_WORKER_PAT }}
|
||||
branch: ${{ github.ref }}
|
Loading…
Reference in a new issue