-
Notifications
You must be signed in to change notification settings - Fork 683
39 lines (32 loc) · 1.24 KB
/
api-information.yml
File metadata and controls
39 lines (32 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: API Information
on: [ pull_request ]
jobs:
api-information-check:
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 2
submodules: true
- name: Set up JDK 17
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
java-version: 17
distribution: temurin
# Do not update to version 6, context: https://blog.gradle.org/github-actions-for-gradle-v6
- name: Setup Gradle
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.12'
pip-version: '26.0.1'
- name: Set up fireci
run: pip3 install -e ci/fireci
- name: Run api-information check
run: |
fireci api_information \
--issue_number=${{ github.event.pull_request.number }} \
--repo_name=${{ github.repository }} \
--auth_token=${{ secrets.GOOGLE_OSS_BOT_TOKEN }}