-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (34 loc) · 1.77 KB
/
vendordeps.yml
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: Update vendordeps
on:
schedule:
- cron: '0 0 * * *'
jobs:
update:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# Declares the repository safe and not under dubious ownership.
- name: Add repository to git safe directories
run: git config --global --add safe.directory $GITHUB_WORKSPACE
# Grant execute permission for gradlew
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Update vendordeps
run: |
./gradlew vendordep --url=https://github.com/Mechanical-Advantage/AdvantageKit/releases/latest/download/AdvantageKit.json
./gradlew vendordep --url=https://SleipnirGroup.github.io/ChoreoLib/dep/ChoreoLib.json
./gradlew vendordep --url=https://dev.studica.com/releases/2024/NavX.json
./gradlew vendordep --url=https://software-metadata.revrobotics.com/REVLib-2024.json
./gradlew vendordep --url=https://3015rangerrobotics.github.io/pathplannerlib/PathplannerLib.json
./gradlew vendordep --url=https://maven.ctr-electronics.com/release/com/ctre/phoenix/Phoenix5-frc2024-latest.json
./gradlew vendordep --url=https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2024-latest.json
./gradlew vendordep --url=https://frcsdk.reduxrobotics.com/ReduxLib_2024.json
- name: Commit and create PR
uses: peter-evans/create-pull-request@v6
with:
commit-message: 'chore(deps): update dependencies'
branch: chore-deps/update-dependencies
branch-suffix: timestamp
title: 'chore(deps): update dependencies'
assignees: TheGamer1002, NyxAlexandra