diff --git a/.github/workflows/update-resources.yml b/.github/workflows/update-resources.yml deleted file mode 100644 index c538dba..0000000 --- a/.github/workflows/update-resources.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Update Resources -on: - schedule: - - cron: "0 4 * * *" - workflow_dispatch: - -jobs: - update-resources: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 - with: - distribution: temurin - java-version: 11 - - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4 - - - name: Execute Resource Generator - run: ./gradlew generateResources - - - name: Get current date - id: date - run: echo "date=$(date +'%Y-%m')" >> $GITHUB_OUTPUT - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 - with: - title: "chore: update rarity data from ${{ steps.date.outputs.date }} wiki" - commit-message: "chore: update rarity data from ${{ steps.date.outputs.date }} wiki" - branch: automated/chore/update-resources - reviewers: iProdigy