Skip to content

Fix workflow syntax: wrap secrets context in expression syntax#6

Merged
R00S merged 2 commits intomasterfrom
copilot/fix-invalid-workflow-file
Jan 13, 2026
Merged

Fix workflow syntax: wrap secrets context in expression syntax#6
R00S merged 2 commits intomasterfrom
copilot/fix-invalid-workflow-file

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 13, 2026

GitHub Actions workflow fails validation due to secrets context referenced without expression syntax in if conditionals.

Changes

  • Wrapped secrets.KEYSTORE_BASE64 references in ${{ }} on lines 65 and 79
- if: secrets.KEYSTORE_BASE64 != ''
+ if: ${{ secrets.KEYSTORE_BASE64 != '' }}

Context variables in GitHub Actions conditionals require expression syntax per workflow syntax documentation.

Original prompt

Triggered via push 1 minute ago
@R00SR00S
pushed
bb5fb96
master
Status
Failure
Total duration

Artifacts

This workflow graph cannot be shown
A graph will be generated the next time this workflow is run.

Annotations
1 error
Invalid workflow file: .github/workflows/build-apk.yml#L1
(Line: 65, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.KEYSTORE_BASE64 != '', (Line: 79, Col: 13): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.KEYSTORE_BASE64 == ''


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

- Wrap secrets.KEYSTORE_BASE64 references in ${{ }} expression syntax on lines 65 and 79
- This fixes the "Unrecognized named-value: 'secrets'" error

Co-authored-by: R00S <1279537+R00S@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix invalid workflow file for build apk Fix workflow syntax: wrap secrets context in expression syntax Jan 13, 2026
Copilot AI requested a review from R00S January 13, 2026 15:54
@R00S R00S marked this pull request as ready for review January 13, 2026 15:55
@R00S R00S merged commit c78170d into master Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants