Skip to content

Commit

Permalink
Replace github commit/push actions with manual steps (#551)
Browse files Browse the repository at this point in the history
Signed-off-by: Danil-Grigorev <[email protected]>
  • Loading branch information
Danil-Grigorev authored May 24, 2024
1 parent 3ec6162 commit 70518b0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ jobs:
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # tag=v4.1.3
- name: Update generated code
run: make generate
- uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # tag=v9.1.4
name: Commit changes
with:
author_name: dependabot[bot]
author_email: 49699333+dependabot[bot]@users.noreply.github.com
default_author: github_actor
message: 'Update generated code'
- name: Commit changes
run: |
git config --local user.email "49699333+dependabot[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Update generated code"
19 changes: 10 additions & 9 deletions .github/workflows/nightly-test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
run: |
git tag ${{ env.RELEASE_TAG }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
tags: true
github_token: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git push --tags
build-push-services:
name: Build, sign and provenance
Expand Down Expand Up @@ -155,8 +155,9 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0
- uses: dev-drprasad/[email protected]
with:
tag_name: ${{ env.RELEASE_TAG }}
github_token: ${{ secrets.GITHUB_TOKEN }}
delete_release: false
- name: Delete nigtly tag and push
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git tag -d ${{ env.RELEASE_TAG }}
git push origin --delete ${{ env.RELEASE_TAG }}

0 comments on commit 70518b0

Please sign in to comment.