Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a3cfee3d0 |
@@ -63,18 +63,24 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
diffs/${{ steps.versions.outputs.retail_new }}.diff.json
|
diffs/${{ steps.versions.outputs.retail_new }}.diff.json
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Commit and push update branch
|
||||||
if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
uses: peter-evans/create-pull-request@v8
|
id: commit
|
||||||
with:
|
run: |
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
BRANCH="auto-update-${{ steps.versions.outputs.retail_new }}"
|
||||||
commit-message: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
|
||||||
title: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
git config user.name "gitea-actions"
|
||||||
body: |
|
git config user.email "actions@gitea.lozy.pink"
|
||||||
This automatic update contains the following changes:
|
git checkout -b "$BRANCH"
|
||||||
- Updated `ffxiv_versions_global.json`
|
git add -A
|
||||||
- Generated opcode diff for retail version ${{ steps.versions.outputs.retail_new }}
|
git commit -m "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
||||||
branch: "auto-update"
|
git push origin "$BRANCH" --force
|
||||||
branch-suffix: "short-commit-hash"
|
|
||||||
base: "main"
|
- name: Open Pull Request (Gitea API)
|
||||||
delete-branch: true
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
|
run: |
|
||||||
|
curl -sf -X POST \
|
||||||
|
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"title":"Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})","head":"${{ steps.commit.outputs.branch }}","base":"main","body":"Automated opcode diff update for retail version ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})."}' \
|
||||||
|
"https://gitea.lozy.pink/api/v1/repos/lozy360/opcodediff/pulls"
|
||||||
|
|||||||
@@ -174,9 +174,5 @@
|
|||||||
{
|
{
|
||||||
"retail_version": "7.56",
|
"retail_version": "7.56",
|
||||||
"version_string": "2026.09.01.0000.0000"
|
"version_string": "2026.09.01.0000.0000"
|
||||||
},
|
|
||||||
{
|
|
||||||
"retail_version": "7.56h",
|
|
||||||
"version_string": "2026.09.15.0000.0000"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user