Skip to content

Commit

Permalink
Retry update-homebrew job (#88)
Browse files Browse the repository at this point in the history
* Fix cicd workflow

Signed-off-by: Taiki Ono <[email protected]>

* Fix update-homebrew job

Signed-off-by: Taiki Ono <[email protected]>

* Bump

Signed-off-by: Taiki Ono <[email protected]>

---------

Signed-off-by: Taiki Ono <[email protected]>
  • Loading branch information
taiki45 authored Jun 20, 2024
1 parent b4fd288 commit 6f97cbe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
ref: main
- name: Update Homebrew Formula
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -137,10 +139,13 @@ jobs:
run: |
.github/scripts/update_formula
- name: Commit and push changes
shell: bash
run: |
set -x
# https://github.com/actions/checkout?tab=readme-ov-file#push-a-commit-using-the-built-in-token
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git diff
git add HomebrewFormula/gls.rb
git -c user.email='41898282+github-actions[bot]@users.noreply.github.com' \
-c user.name='github-actions[bot]' \
commit -m "Update Homebrew formula"
git commit -m "Update Homebrew formula"
git push
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "gls"
description = "Support gitleaks config development and extend some gitleaks features."
version = "0.1.14"
version = "0.1.15"
edition = "2021"
rust-version = "1.70.0"
readme = "README.md"
Expand Down

0 comments on commit 6f97cbe

Please sign in to comment.