-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into remote-signer-electra
- Loading branch information
Showing
68 changed files
with
737 additions
and
563 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
name: CI | ||
# This workflow will build a golang project | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | ||
|
||
name: changelog | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- develop | ||
branches: [ "develop" ] | ||
|
||
jobs: | ||
changed_files: | ||
runs-on: ubuntu-latest | ||
name: Check CHANGELOG.md | ||
run-changelog-check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: changelog modified | ||
id: changelog-modified | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Download unclog binary | ||
uses: dsaltares/fetch-gh-release-asset@aa2ab1243d6e0d5b405b973c89fa4d06a2d0fff7 # 1.1.2 | ||
with: | ||
repo: OffchainLabs/unclog | ||
file: "unclog" | ||
|
||
- name: Get new changelog files | ||
id: new-changelog-files | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
files: CHANGELOG.md | ||
files: | | ||
changelog/**.md | ||
- name: List all changed files | ||
- name: Run lint command | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.changelog-modified.outputs.all_changed_files }} | ||
run: | | ||
if [[ ${ALL_CHANGED_FILES[*]} =~ (^|[[:space:]])"CHANGELOG.md"($|[[:space:]]) ]]; | ||
then | ||
echo "CHANGELOG.md was modified."; | ||
exit 0; | ||
else | ||
echo "CHANGELOG.md was not modified."; | ||
echo "Please see CHANGELOG.md and follow the instructions to add your changes to that file." | ||
echo "In some rare scenarios, a changelog entry is not required and this CI check can be ignored." | ||
exit 1; | ||
fi | ||
ALL_ADDED_MARKDOWN: ${{ steps.new-changelog-files.outputs.added_files }} | ||
run: chmod +x unclog && ./unclog check -fragment-env=ALL_ADDED_MARKDOWN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.