Author SHA1 Message Date
lozy360andgithub-actions[bot] 55752b6eea Update for 7.56h (2026.09.15.0000.0000) 2026-09-17 12:34:05 +00:00
+14 -20
View File
@@ -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"