Skip to content

Commit

Permalink
Fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger committed Oct 18, 2023
1 parent a40d5f8 commit 704a98e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# Checkout repository
- uses: actions/checkout@v3
with:
path: libraries/rules_bzlmodrio_toolchains
path: rules/rules_bzlmodrio_toolchains

# Checkout gentool
- uses: actions/checkout@v3
Expand All @@ -55,7 +55,7 @@ jobs:
# Run update
- name: Run update
run: bazel run //:auto_update
working-directory: libraries/rules_bzlmodrio_toolchains/generate
working-directory: rules/rules_bzlmodrio_toolchains/generate

- name: Generate if changed
run: |
Expand All @@ -66,19 +66,19 @@ jobs:
else
echo "No changes!"
fi;
working-directory: libraries/rules_bzlmodrio_toolchains/generate
working-directory: rules/rules_bzlmodrio_toolchains/generate

- name: Store new version
run: echo "NEW_VERSION=$(bazel run //:get_version)" >> $GITHUB_ENV
working-directory: libraries/rules_bzlmodrio_toolchains/generate
working-directory: rules/rules_bzlmodrio_toolchains/generate

# Create pull requests
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.AUTO_UPDATE_KEY }}
with:
path: libraries/rules_bzlmodrio_toolchains
path: rules/rules_bzlmodrio_toolchains
base: main
token: ${{ secrets.AUTO_UPDATE_KEY }}
reviewers: pjreiniger
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:

- name: Store version
run: echo "NEW_VERSION=$(bazel run //:get_version)" >> $GITHUB_ENV
working-directory: libraries/rules_bzlmodrio_toolchains/generate
working-directory: rules/rules_bzlmodrio_toolchains/generate


# Create pull requests
Expand Down

0 comments on commit 704a98e

Please sign in to comment.