-
Notifications
You must be signed in to change notification settings - Fork 14
Celestia v3.7.6 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: celestia-main
Are you sure you want to change the base?
Celestia v3.7.6 #29
Changes from all commits
b49edad
8bfdfcc
5ed18ab
a97c403
bdedcae
3d5ed33
6859c32
0074b72
b6d561f
41a4c4f
23cae22
ff02d4d
e0980ea
7a750e3
ca5dba0
7c7ca35
319f03e
f283031
b9f8eec
7c81586
68a1d20
39c4895
d7d8f16
847d8ae
3ffc95e
4e67920
b8b3952
eebf915
9f7aead
e714d0a
4ea4dcb
c4ce22a
e50b1cd
355feb6
9dc9391
eab4b2a
c95def1
0eb1f71
d8beb01
2fb0bfc
e6dcc57
a4c3cdb
08ff966
6564891
8a5bf7c
a64bcc4
13c1c3e
189d737
01b6ea5
16c01f8
349c4c7
bf43f8c
efa52d5
5e2791c
f3004b3
52af0ca
b4f0eb5
d870c1c
208540a
c359350
e29ed17
f32c59b
118ea2d
0b9a348
e9d6a74
fd46ebe
bb7e206
2e78556
21835b9
46d69dc
84c374c
4082638
8ddd68c
45215ac
d526dd9
7d58f8e
fedeb73
cd0944b
06e3fcb
921683b
effd05b
edcbbda
c7b57bc
6ec162a
c463f2e
7ce0aeb
9a79e0f
6c637cf
8bc83b9
03b873c
5ee7b49
25705cc
3d42b4e
40f759c
c285f2b
ef929fa
c5b61a9
51a625c
a6cd2c7
5e15811
cb17aaa
d535549
53fd9e0
676b738
f479f52
0a36e24
a537439
fbe8e3f
aaeac54
8e928e9
9bd724d
400bb4b
fc3114c
a1e61eb
1a87386
183cedc
30702e0
5cea9ab
45af62e
8a01939
b940df7
3eeddca
ed95f67
92e529e
89028d7
5d56836
7bc855d
fae094f
6a4933e
8e8bcef
b49aca6
556f0a4
4353343
b783dd6
40f5343
ee146e9
0bef620
23c05ad
90e4360
5710994
dd09a07
98c22b8
5c1322d
0e1ba43
88f4b86
9e4f845
fcfe683
58d9f07
2139295
2bf54fb
0437ab1
b48748f
96ca622
1ae06f5
0e0fbd5
a9b6dba
b0aa8ba
d80301b
5b963d6
267f9b8
0f0f33b
bcc8c1a
2f497c7
e740f80
f01b8b3
544c57b
d67c482
250cc1d
fac1e4a
7280833
52fddb9
cfe52b0
2f36a35
1932ac1
a1ea9ed
88b7d56
f5661a0
ad174f9
c21b653
08bc32a
5e205cb
b0ecaa4
26322de
595ddcb
675179c
6d2c276
6e20a56
d488ca4
6322c86
23fd1d1
ace5dd6
f832a27
48c6c56
a956bc8
4df9649
eefbaa5
e2e3a9c
8fa6cfb
040ab12
01eceb0
be69e2f
66462ec
735edf3
6a1b53c
195ceb9
0c3da5a
549e2c5
822b964
f154868
1505659
727fce9
c7e2bfd
edacb8b
8015712
aa58967
1e8f7d5
656c957
113654f
fedad72
fd1cb43
e6d71a3
7b63e71
90570c4
0dac3c3
0177eb8
6d34456
9c66cbd
926f1ab
3435476
361de54
42be4fe
ecb79c9
e421729
96cc1a5
76380bd
d58fe46
9244576
be155d0
d7a13fc
f6465c6
4537ec9
91ebb83
c0fe95e
7420bc1
bcf1965
900ea1e
0b7884b
669c1ee
7f3ebfd
27925bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| FROM golang:alpine | ||
|
|
||
| COPY entrypoint.sh /entrypoint.sh | ||
|
|
||
| ENTRYPOINT ["/entrypoint.sh"] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| name: 'Go mod tidy checker' | ||
| description: 'Checks that `go mod tidy` has been applied.' | ||
| runs: | ||
| using: 'docker' | ||
| image: 'Dockerfile' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| #!/bin/sh -l | ||
| set -e | ||
| export PATH="$PATH:/usr/local/go/bin" | ||
|
|
||
| cd "$GITHUB_WORKSPACE" | ||
|
|
||
| cp go.mod go.mod.orig | ||
| cp go.sum go.sum.orig | ||
|
|
||
| go mod tidy -compat=1.17 | ||
|
|
||
| echo "Checking go.mod and go.sum:" | ||
| checks=0 | ||
| if [ "$(diff -s go.mod.orig go.mod | grep -c 'Files go.mod.orig and go.mod are identical')" = 1 ]; then | ||
| echo "- go.mod is up to date." | ||
| checks=$((checks + 1)) | ||
| else | ||
| echo "- go.mod is NOT up to date." | ||
| fi | ||
|
|
||
| if [ "$(diff -s go.sum.orig go.sum | grep -c 'Files go.sum.orig and go.sum are identical')" = 1 ]; then | ||
| echo "- go.sum is up to date." | ||
| checks=$((checks + 1)) | ||
| else | ||
| echo "- go.sum is NOT up to date." | ||
| fi | ||
|
|
||
| if [ $checks -eq 2 ]; then | ||
| exit 0 | ||
| fi | ||
|
|
||
| # Notify of any issues. | ||
| echo "Run 'go mod tidy' to update." | ||
| exit 1 |
| Original file line number | Diff line number | Diff line change | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,71 @@ | |||||||||||||||||||||||||||||
| name: Go | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| on: | |||||||||||||||||||||||||||||
| workflow_dispatch: | |||||||||||||||||||||||||||||
| merge_group: | |||||||||||||||||||||||||||||
| pull_request: | |||||||||||||||||||||||||||||
| push: | |||||||||||||||||||||||||||||
| branches: | |||||||||||||||||||||||||||||
| - master | |||||||||||||||||||||||||||||
| - develop | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| jobs: | |||||||||||||||||||||||||||||
| # formatting: | |||||||||||||||||||||||||||||
| # name: Formatting | |||||||||||||||||||||||||||||
| # runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| # steps: | |||||||||||||||||||||||||||||
| # - name: Checkout | |||||||||||||||||||||||||||||
| # uses: actions/checkout@v5 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| # - name: Go mod tidy checker | |||||||||||||||||||||||||||||
| # id: gomodtidy | |||||||||||||||||||||||||||||
| # uses: ./.github/actions/gomodtidy | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| build: | |||||||||||||||||||||||||||||
| name: Build and Test Bold | |||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | |||||||||||||||||||||||||||||
| steps: | |||||||||||||||||||||||||||||
| - name: Check out code into the Go module directory | |||||||||||||||||||||||||||||
| uses: actions/checkout@v5 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| submodules: true | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Setup node/yarn | |||||||||||||||||||||||||||||
| uses: actions/setup-node@v4 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| node-version: '24' | |||||||||||||||||||||||||||||
| cache: 'yarn' | |||||||||||||||||||||||||||||
| cache-dependency-path: "**/yarn.lock" | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Install go | |||||||||||||||||||||||||||||
| uses: actions/setup-go@v5 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| go-version: 1.24.x | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Install Foundry | |||||||||||||||||||||||||||||
| uses: foundry-rs/foundry-toolchain@v1 | |||||||||||||||||||||||||||||
| with: | |||||||||||||||||||||||||||||
| cache: false | |||||||||||||||||||||||||||||
| version: v1.0.0 | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: AbiGen (nitro) | |||||||||||||||||||||||||||||
| run: make contracts | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Get dependencies | |||||||||||||||||||||||||||||
| working-directory: ./bold | |||||||||||||||||||||||||||||
| run: | | |||||||||||||||||||||||||||||
| go get -v -t -d ./... | |||||||||||||||||||||||||||||
| - name: Build | |||||||||||||||||||||||||||||
| working-directory: ./bold | |||||||||||||||||||||||||||||
| run: go build -v ./... | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Test | |||||||||||||||||||||||||||||
| working-directory: ./bold | |||||||||||||||||||||||||||||
| run: ANVIL=$(which anvil) go test -v -covermode=atomic -coverprofile=coverage.out -timeout=20m ./... | |||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| - name: Upload coverage reports to Codecov | |||||||||||||||||||||||||||||
| uses: codecov/codecov-action@v5 | |||||||||||||||||||||||||||||
Check warningCode scanning / CodeQL Unpinned tag for a non-immutable Action in workflow Medium
Unpinned 3rd party Action 'Go' step
Uses Step Error loading related location Loading |
|||||||||||||||||||||||||||||
| env: | |||||||||||||||||||||||||||||
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |||||||||||||||||||||||||||||
|
Comment on lines
+25
to
+70
Check warningCode scanning / CodeQL Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Copilot AutofixAI about 2 months ago To fix the problem, we need to add an explicit
Suggested changeset
1
.github/workflows/bold.yml
Copilot is powered by AI and may make mistakes. Always verify output.
Refresh and try again.
|
|||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: Close trivial PRs | ||
|
|
||
| on: | ||
| pull_request_target: | ||
| types: [labeled] | ||
|
|
||
| jobs: | ||
| close-trivial-pr: | ||
| if: github.event.label.name == 'trivial' | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| pull-requests: write | ||
|
|
||
| steps: | ||
| - name: Fetch CONTRIBUTING.md snippet | ||
| id: snippet | ||
| env: | ||
| REPO: ${{ github.repository }} | ||
| run: | | ||
| SNIPPET=$(curl -sSfL "https://raw.githubusercontent.com/${REPO}/refs/heads/master/CONTRIBUTING.md" \ | ||
| | sed -n '/<!-- start-trivial-prs -->/,/<!-- end-trivial-prs -->/p' \ | ||
| | sed '/<!--.*-->/d') | ||
|
|
||
| # Use GitHub Actions heredoc-style output to preserve multiline content | ||
| echo "snippet<<EOF" >> $GITHUB_OUTPUT | ||
| echo "$SNIPPET" >> $GITHUB_OUTPUT | ||
| echo "EOF" >> $GITHUB_OUTPUT | ||
|
|
||
| - name: Comment and Close PR | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: | | ||
| PR_NUMBER=${{ github.event.pull_request.number }} | ||
| REPO=${{ github.repository }} | ||
| DEF_BRANCH=${{ github.event.repository.default_branch }} | ||
| SNIPPET="${{ steps.snippet.outputs.snippet }}" | ||
|
|
||
| gh pr close $PR_NUMBER --repo $REPO --comment "Thank you for your contribution. However, this PR has been automatically closed because it was labeled as **trivial**. As stated in our [CONTRIBUTING.md](../blob/${DEF_BRANCH}/CONTRIBUTING.md): | ||
|
|
||
| --- | ||
|
|
||
| ${SNIPPET} | ||
|
|
||
| --- | ||
|
|
||
| We appreciate meaningful contributions!" |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium