-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
26 lines (26 loc) · 825 Bytes
/
hosting-issue-checker.yml
File metadata and controls
26 lines (26 loc) · 825 Bytes
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
name: Hosting checker
on:
issues:
types:
- opened
- edited
jobs:
hosting:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'hosting-request')
steps:
- uses: actions/checkout@v6
with:
ref: 'master'
- uses: actions/setup-java@v5
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '25'
cache: 'maven'
- name: Build with Maven
run: mvn -B package -Dspotbugs.skip
- name: Run hosting checker
run: |
java -jar target/repository-permissions-updater-1.0-SNAPSHOT-bin/repository-permissions-updater-1.0-SNAPSHOT.jar check-hosting ${{ github.event.issue.number }}
env:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}