Skip to content

Commit 36af4bd

Browse files
committed
completed temporary test
1 parent 085b946 commit 36af4bd

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

.github/workflows/bruin.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Bruin Setup Action Test
33
on:
44
push:
55
branches: ["main"]
6-
pull_request:
7-
branches: ["main"]
86

97
permissions:
108
contents: read
@@ -16,20 +14,7 @@ jobs:
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

0 commit comments

Comments
 (0)