Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/actions/commit-changes/action.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
name: 'Commit Changes'
description: 'Commit changes to the repository'
description: 'Commit changes to the repository. Note: git user.name and user.email must be configured before calling this action.'
inputs:
message:
description: 'The message to commit'
required: true
runs:
using: 'composite'
steps:
- name: configure-git
shell: bash
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'

- name: commit-changes
shell: bash
run: |
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/check-warp-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,27 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Generate GitHub App Token
id: generate-token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.HYPER_GONK_APP_ID }}
private-key: ${{ secrets.HYPER_GONK_PRIVATE_KEY }}

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0

- name: Determine Base & Head SHA
id: determine-base-sha
run: |
echo "base_sha=${{ github.event.pull_request.base.sha }}" >> $GITHUB_OUTPUT
echo "current_sha=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT

- name: Check Warp Deploy
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
run: |
./scripts/check-warp-deploy.sh ${{ steps.determine-base-sha.outputs.base_sha }} ${{ steps.determine-base-sha.outputs.current_sha }}
5 changes: 5 additions & 0 deletions .github/workflows/combine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
- name: foundry-install
uses: foundry-rs/foundry-toolchain@v1

- name: Configure Git for Hyper Gonk
run: |
git config user.name "${{ steps.generate-token.outputs.app-slug }}[bot]"
git config user.email "${{ secrets.HYPER_GONK_APP_ID }}+${{ steps.generate-token.outputs.app-slug }}[bot]@users.noreply.github.com"

- name: combine-data
run: |
echo "Assembling warp route configs, chain metadata and addresses together..."
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,18 @@ jobs:
app-id: ${{ secrets.HYPER_GONK_APP_ID }}
private-key: ${{ secrets.HYPER_GONK_PRIVATE_KEY }}

- name: Configure Git for Hyper Gonk
run: |
git config user.name "${{ steps.generate-token.outputs.app-slug }}[bot]"
git config user.email "${{ secrets.HYPER_GONK_APP_ID }}+${{ steps.generate-token.outputs.app-slug }}[bot]@users.noreply.github.com"

- name: Create Release PR or Publish to NPM
id: changesets
uses: changesets/action@v1
with:
version: yarn version:prepare
publish: yarn release
setupGitUser: false
env:
NPM_CONFIG_PROVENANCE: true
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-hyperlane-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:

- name: Configure Git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "github-actions[bot]@users.noreply.github.com"
git config user.name "${{ steps.generate-token.outputs.app-slug }}[bot]"
git config user.email "${{ secrets.HYPER_GONK_APP_ID }}+${{ steps.generate-token.outputs.app-slug }}[bot]@users.noreply.github.com"

- name: Setup Node.js 20
uses: actions/setup-node@v4
Expand Down