-
-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
fcb6073
commit 4ee5048
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 }} |