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

feat: support auto-detection of branch/tag/commit + use wf inputs #14

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

YOU54F
Copy link
Member

@YOU54F YOU54F commented Oct 7, 2022

  • ⚠️ Migrates to workflow-inputs over environment variables. Fixes Inputs are ignored #38
    • Users should see the actions.yml in each action, for correct usage
    • Will require users to switch from env: to with:, however existing environment variables will be picked up.
  • ⚠️ inputs for publish-provider-contract have changed, see actions file ./publish-pact-files/action.yml, existing values will be picked up
  • adds command
    • record-release
  • removes command
    • publish-provider-contract-legacy
  • supports auto-detection of version in
    • record-release
    • record-deployment
    • publish-provider-contract (including branch)
    • publish-pact-files (including branch)
    • create-version-tag
    • create-or-update-version (including branch)
    • can-i-deploy
  • Support for Pact Broker Basic Auth via PACT_BROKER_USERNAME / PACT_BROKER_PASSWORD

Will be bumped to V2, so it is opt-in unless users are running against main

@YOU54F YOU54F marked this pull request as ready for review September 13, 2024 16:11
@YOU54F YOU54F changed the title feat: support auto-detection of branch/tag/commit from github actions feat: support auto-detection of branch/tag/commit + use wf inputs Sep 13, 2024
- BREAKING CHANGE: Migrates to workflow-inputs over environment variables. Fixes #38
  - Users should see the actions.yml in each action, for correct usage
  - Will require users to switch from `env:` to `with:`, however existing environment variables will be picked up.
-  BREAKING CHANGE: inputs for `publish-provider-contract` have changed, see actions file `./publish-pact-files/action.yml`, existing values will be picked up
- adds command
  -  record-release
- removes command
  - BREAKING CHANGE: publish-provider-contract-legacy
- supports auto-detection of version in
  - record-release
  - record-deployment
  - publish-provider-contract (including branch)
  - publish-pact-files (including branch)
  - create-version-tag
  - create-or-update-version (including branch)
  - can-i-deploy
- Support for Pact Broker Basic Auth via `PACT_BROKER_USERNAME` / `PACT_BROKER_PASSWORD`

Will be bumped to V2, so it is opt-in unless users are running against main
@YOU54F YOU54F merged commit 4ea9442 into main Sep 13, 2024
50 checks passed
@YOU54F YOU54F deleted the auto_detect_version_branch branch September 13, 2024 16:18
@YOU54F YOU54F restored the auto_detect_version_branch branch September 13, 2024 16:18
@YOU54F YOU54F deleted the auto_detect_version_branch branch September 20, 2024 12:03
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.

Inputs are ignored
1 participant