Skip to content
Closed

test #90

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Fix All The Shit

on:
pull_request:

jobs:
check-sensitive:
runs-on: ubuntu-latest

outputs:
require-approval: ${{ steps.changed-sensitive.outputs.any_changed }}

steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Get changed sensitive files
id: changed-sensitive
uses: tj-actions/changed-files@v47
with:
files: |
.github/**
package*.json
**.mts
lefthook.yml

fix-stuff:
runs-on: ubuntu-latest
needs: check-sensitive
#if: needs.check-sensitive.outputs.require-approval != 'true'

permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v7
with:
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}
ref: ${{ github.head_ref }}

- uses: ./.github/actions/setup

- name: Format Code
run: npm run format

- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: format everything

- name: Generate UUIDs
run: npm run gen:uuids

- uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: generate missing UUIDs

# fix-stuff-review:
# runs-on: ubuntu-latest
# needs: check-sensitive
# if: needs.check-sensitive.outputs.require-approval == 'true'
# environment: Require Approval
# steps:
# - name: Hi
# run: echo 'Alan'
2 changes: 1 addition & 1 deletion tiers/easy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2459,7 +2459,7 @@
}
},
{
"id": "3a0fb1be-70be-4caa-a84b-99d2c331cbfe",
"id": "b513dd77-0169-4e67-8f29-7e5ccf5ea9d4",
"name": "Get the Sulphur blades",
"shortName": "Sulphur Blades",
"tip": "Obtained as a drop from Sulphur Naguas. Requires partial completion of the Perilous Moons quest.",
Expand Down