We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7800223 commit a26da1cCopy full SHA for a26da1c
.github/workflows/build-and-test.yml
@@ -1,6 +1,12 @@
1
name: Build and test
2
on: [push]
3
4
+permissions:
5
+ # The GITHUB_TOKEN is used to download AppMap service
6
+ # binaries in addition to cloning the repository; by explicitly
7
+ # setting permissions, we ensure it has no unnecessary access.
8
+ contents: read
9
+
10
jobs:
11
build-and-check:
12
name: Build and check
@@ -106,5 +112,8 @@ jobs:
106
112
env:
107
113
BATS_LIB_PATH: ${{ steps.setup-bats.outputs.lib-path }}
108
114
TERM: xterm
115
+ # Github token is just to avoid rate limiting when IntelliJ tests
116
+ # are run and download the AppMap service binaries
117
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
109
118
working-directory: ./agent
110
119
run: bin/test_run
0 commit comments