mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-09-03 05:10:27 +03:00
Add merge conflict labeler and gradle update and validate tasks (#309)
* Add gradle validate and gradle update tasks * Add merge conflict labeler task * Use ubuntu-latest image and change some naming
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
name: Gradle update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'jellyfin/jellyfin-android'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Update Gradle Wrapper
|
||||
uses: gradle-update/update-gradle-wrapper-action@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -0,0 +1,18 @@
|
||||
name: Gradle validate
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
paths:
|
||||
- '**/gradlе-wrapper.jar'
|
||||
|
||||
jobs:
|
||||
validate:
|
||||
runs-on: ubuntu-ubuntu
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
@@ -0,0 +1,16 @@
|
||||
name: Merge conflict label
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * *'
|
||||
push:
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
runs-on: ubuntu-ubuntu
|
||||
if: github.repository == 'jellyfin/jellyfin-android'
|
||||
steps:
|
||||
- uses: mschilde/auto-label-merge-conflicts@v2.0
|
||||
with:
|
||||
CONFLICT_LABEL_NAME: merge conflict
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user