File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ name: Bruin Setup Action Test
33on :
44 push :
55 branches : ["main"]
6- pull_request :
7- branches : ["main"]
86
97permissions :
108 contents : read
1614 steps :
1715 - name : Setup repo
1816 uses : actions/checkout@v4
19- # Exhaust unauthenticated API quota (60/hour) so the next unauth request would 403.
20- # The setup action must use GITHUB_TOKEN to succeed after this.
21- - name : Exhaust GitHub API rate limit (unauthenticated)
22- run : |
23- echo "::group::Exhaust GitHub API rate limit (unauthenticated)"
24- for i in $(seq 1 65); do
25- curl -s -o /dev/null -w "%{http_code}\n" https://api.github.com/repos/bruin-data/bruin/releases &
26- done
27- wait
28- echo "::endgroup::"
29- # Installs latest (must use token or this would hit 403 after the burn above)
30- - uses : bruin-data/bruin-setup-action@fix/github-token
31- with :
32- token : ${{ secrets.GITHUB_TOKEN }}
17+ - uses : bruin-data/bruin-setup-action@main
3318 - run : bruin init default
3419 - run : bruin validate ./bruin-pipeline/
3520 name : Validate Pipeline
You can’t perform that action at this time.
0 commit comments