Skip to content

Commit 32bf85a

Browse files
authored
Merge pull request #160 from IShix-g/release
fix: correct license type and permissions in workflows
2 parents 53ec920 + 7fdf4c3 commit 32bf85a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build-release_merge_test-runner.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ on:
2929
default: false
3030

3131
permissions:
32-
actions: read
3332
contents: write
33+
actions: read
34+
checks: write
3435

3536
jobs:
3637
validate-branch:

.github/workflows/reusable-test-runner.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,17 @@ jobs:
7474
run: |
7575
if [ -n "${{ secrets.UNITY_LICENSE }}" ]; then
7676
license_name="UNITY_LICENSE"
77+
license_type="Personal"
7778
elif [ -n "${{ secrets.UNITY_SERIAL }}" ]; then
7879
license_name="UNITY_SERIAL"
80+
license_type="Pro"
7981
else
8082
echo "::error::No secrets.UNITY_LICENSE or secrets.UNITY_SERIAL found."
8183
exit 1
8284
fi
8385
8486
echo "name=$license_name" >> "$GITHUB_OUTPUT"
85-
echo "::notice title=Unity License::$license_name"
87+
echo "::notice title=Unity License::$license_type"
8688
8789
test-all:
8890
needs: [prepare-test-modes, unity-license]

0 commit comments

Comments
 (0)