Skip to content

Commit aa3e1fa

Browse files
authored
Update test_update_from_h5p.yml
1 parent a613b3d commit aa3e1fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/test_update_from_h5p.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
latest_commit = "${{ fromJson(steps.get-commit.outputs.data).commit.sha }}".strip()
4040
# Check stored commit
4141
commit_file = Path('packages/hashi/.h5p-commit-sha')
42+
stored_commit = ""
4243
if commit_file.exists():
4344
stored_commit = commit_file.read_text().strip()
4445
has_changed = stored_commit != latest_commit
@@ -47,6 +48,7 @@ jobs:
4748
has_changed = True
4849
# Set outputs for GitHub Actions
4950
with open(os.environ['GITHUB_OUTPUT'], 'a') as f:
51+
print(f"stored_commit={stored_commit}", file=f)
5052
print(f"latest_commit={latest_commit}", file=f)
5153
print(f"changed={'true' if has_changed else 'false'}", file=f)
5254
shell: python
@@ -90,7 +92,8 @@ jobs:
9092
delete-branch: true
9193
title: 'Update from target repository commit'
9294
body: |
93-
This PR was automatically created by the Update H5P JS library.
95+
This PR was automatically created by the Update H5P JS library Github Action.
9496
Updates from target repository commit: ${{ steps.check-commit.outputs.latest_commit }}
97+
https://github.com/h5p/h5p-php-library/compare/${{ steps.check-commit.outputs.stored_commit }}...${{ steps.check-commit.outputs.latest_commit }}
9598
base: main
9699

0 commit comments

Comments
 (0)