Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
55752b6eea |
@@ -63,24 +63,18 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
diffs/${{ steps.versions.outputs.retail_new }}.diff.json
|
diffs/${{ steps.versions.outputs.retail_new }}.diff.json
|
||||||
|
|
||||||
- name: Commit and push update branch
|
- name: Create Pull Request
|
||||||
if: steps.versions.outputs.is_new == 'true'
|
if: steps.versions.outputs.is_new == 'true'
|
||||||
id: commit
|
uses: peter-evans/create-pull-request@v8
|
||||||
run: |
|
with:
|
||||||
BRANCH="auto-update-${{ steps.versions.outputs.retail_new }}"
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
echo "branch=$BRANCH" >> "$GITHUB_OUTPUT"
|
commit-message: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
||||||
git config user.name "gitea-actions"
|
title: "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
||||||
git config user.email "actions@gitea.lozy.pink"
|
body: |
|
||||||
git checkout -b "$BRANCH"
|
This automatic update contains the following changes:
|
||||||
git add -A
|
- Updated `ffxiv_versions_global.json`
|
||||||
git commit -m "Update for ${{ steps.versions.outputs.retail_new }} (${{ steps.versions.outputs.thaliak_version_new }})"
|
- Generated opcode diff for retail version ${{ steps.versions.outputs.retail_new }}
|
||||||
git push origin "$BRANCH" --force
|
branch: "auto-update"
|
||||||
|
branch-suffix: "short-commit-hash"
|
||||||
- name: Open Pull Request (Gitea API)
|
base: "main"
|
||||||
if: steps.versions.outputs.is_new == 'true'
|
delete-branch: 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,5 +174,9 @@
|
|||||||
{
|
{
|
||||||
"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