Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for configuration variables in workflows (vars) #259

Closed
ghost opened this issue Jan 16, 2023 · 1 comment
Closed

Support for configuration variables in workflows (vars) #259

ghost opened this issue Jan 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Jan 16, 2023

It seems that the newly implemented vars need to be supported.
https://github.blog/changelog/2023-01-10-github-actions-support-for-configuration-variables-in-workflows/

For example:

on:
  push:
jobs:
  display-variables:
    runs-on: ${{ vars.RUNNER }}
    steps:
    - name: Use variables
      run: |
        echo "Repository variable : ${{ vars.REPOSITORY_VAR }}"
        echo "Organization variable : ${{ vars.ORGANIZATION_VAR }}"

https://rhysd.github.io/actionlint/#eJxtjUEOgjAQRfecYmLc4gG6Y0EMm9ZUMNGNKdpIDXaaDpggcnelQWKMyz/vz/toWQTgWqpYdMWSxnQ25GrVxXfljSprHY4AvrUUo2Ww7Ht4M1rJgvNUwjAETo12UzUGq26aQUEaZksgQcPgOQUAfaoQFlI7JNOg7+Y+fA+lG7HNciH3x10yDi5+/oW/KGseqjFo/xqEXCc8OyR5JvjH8QLJF00M

image

@rhysd rhysd added the enhancement New feature or request label Jan 18, 2023
@rhysd
Copy link
Owner

rhysd commented Jan 18, 2023

Yes, this should be supported. I'm considering to add minimal support for this at least not to cause errors on vars context.

@rhysd rhysd closed this as completed in f2b6502 Jan 18, 2023
rhysd added a commit that referenced this issue Jan 18, 2023
rhysd added a commit that referenced this issue Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant