-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (46 loc) · 1.3 KB
/
full.yml
File metadata and controls
47 lines (46 loc) · 1.3 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
40
41
42
43
44
45
46
47
# SPDX-FileCopyrightText: Copyright © 2024 - 2025 Caleb Cushing
#
# SPDX-License-Identifier: CC0-1.0
name: full
on:
push:
branches: &default [develop]
tags:
- v*
pull_request:
branches: *default
workflow_call:
jobs:
full:
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
packages: read
env:
ORG_GRADLE_PROJECT_ghUsername: ${{ secrets.GITHUB_ACTOR }}
ORG_GRADLE_PROJECT_ghPassword: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v6.0.2
with:
ref: ${{ github.event.workflow_run.head_branch }}
filter: "blob:none"
fetch-depth: 0
- uses: actions/setup-java@v5.2.0
with:
distribution: temurin
java-version: 21
- uses: gradle/actions/setup-gradle@v5.0.2
with:
cache-read-only: true
- run: make ci-full
dependabot:
needs: full
runs-on: ubuntu-24.04
if: ${{ github.actor == 'dependabot[bot]' && github.event_name == 'pull_request'}}
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL" # Use Github CLI to merge automatically the PR
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}