Skip to content

Commit

Permalink
Merge pull request #210 from kachick/abstract-repo-name
Browse files Browse the repository at this point in the history
Abstract references with GitHub context
  • Loading branch information
kachick authored May 6, 2024
2 parents 4c92649 + ffb2796 commit a41d333
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
cache: false
- name: Install plugin
run: |
mise plugins install cargo-make https://github.com/kachick/asdf-cargo-make.git#${{ github.ref }}
mise plugins install cargo-make 'https://github.com/${{ github.repository }}.git#${{ github.ref }}'
- name: Test
run: |
${{ matrix.target.command }}
2 changes: 1 addition & 1 deletion .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time'
- run: |
nix develop --command bash -c '
asdf plugin-add cargo-make https://github.com/kachick/asdf-cargo-make.git
asdf plugin-add cargo-make "https://github.com/${{ github.repository }}.git"
asdf plugin update cargo-make ${{ github.ref }} # https://github.com/asdf-vm/asdf/issues/1201
asdf install cargo-make
makers help
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-bot-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash --delete-branch "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ github.token }}

# Avoid `automerge` renovate official feature.
# It wait longtime to be merged.
Expand Down Expand Up @@ -77,4 +77,4 @@ jobs:
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash --delete-branch "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
GITHUB_TOKEN: ${{ github.token }}

0 comments on commit a41d333

Please sign in to comment.