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

Default token and workspace #298

Merged
merged 4 commits into from
Nov 24, 2022
Merged

Default token and workspace #298

merged 4 commits into from
Nov 24, 2022

Conversation

korthout
Copy link
Owner

@korthout korthout commented Nov 24, 2022

The inputs github_token and github_workspace have historically been required. However, we can provide defaults for them using variable expansion for their definition in action.yml.

Users are no longer required to provide these inputs. It is now possible to use the backport-action without any configured inputs:

      - uses: actions/checkout@v3

      - name: Create backport pull requests
        uses: zeebe-io/backport-action@v1-rc1

input.required is optional, so if the value is false, then it doesn't
need to be stated. This is just clutter.
We can use variable expansion to fill in the default value.
We can use variable expansion to fill in the default value.
These inputs are no longer required, because they receive a default
value in action.yml.
@korthout korthout merged commit be5b214 into master Nov 24, 2022
@korthout korthout deleted the default-token-and-workspace branch November 24, 2022 10:58
@korthout korthout mentioned this pull request Dec 21, 2022
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.

1 participant