File tree Expand file tree Collapse file tree 3 files changed +72
-41
lines changed Expand file tree Collapse file tree 3 files changed +72
-41
lines changed Original file line number Diff line number Diff line change 1+ name : " CLA Check"
2+
3+ on :
4+ pull_request_target :
5+ branches : ["main"]
6+
7+ jobs :
8+ cla-check :
9+ # if: github.event.pull_request.user.login != 'renovate[bot]'
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v5
15+ with :
16+ repository : neo-technology/whitelist-check
17+ token : ${{ secrets.TEAM_GRAPHQL_PERSONAL_ACCESS_TOKEN }}
18+ - uses : actions/setup-python@v5
19+ with :
20+ python-version : 3
21+ - name : Install dependencies
22+ run : |
23+ python -m pip install --upgrade pip
24+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25+ - run : |
26+ owner=$(echo "$GITHUB_REPOSITORY" | cut -d/ -f1)
27+ repository=$(echo "$GITHUB_REPOSITORY" | cut -d/ -f2)
28+
29+ ./bin/examine-pull-request "$owner" "$repository" "${{ secrets.TEAM_GRAPHQL_PERSONAL_ACCESS_TOKEN }}" "$PULL_REQUEST_NUMBER" cla-database.csv
30+ env:
31+ PULL_REQUEST_NUMBER: ${{ github.event.number }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ # This workflow will build a golang project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+ name : Test
5+
6+ on :
7+ push :
8+ branches : ["main"]
9+ pull_request :
10+ branches : ["main"]
11+
12+ jobs :
13+ build :
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ os : [ubuntu-latest, windows-latest, macos-latest]
18+ runs-on : ${{ matrix.os }}
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - name : Set up Go
23+ uses : actions/setup-go@v5
24+ with :
25+ go-version : " stable"
26+
27+ - name : Build
28+ run : go build -v ./...
29+
30+ - name : Test
31+ run : go test -v ./...
32+
33+ - name : Vet
34+ run : go vet -v ./...
35+
36+ - name : fmt
37+ run : go fmt ./...
38+
39+ -
uses :
dominikh/[email protected] 40+ with :
41+ install-go : false
You can’t perform that action at this time.
0 commit comments