Skip to content

Commit 6d431c1

Browse files
Merge pull request #271 from red-gate/max-auth-attempts
Add max-auth-attempts input for Flyway authentication retries
2 parents 6908ecd + 7ff0723 commit 6d431c1

8 files changed

Lines changed: 1904 additions & 1914 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Use this in conjunction with [flyway-actions](https://github.com/marketplace/act
2626
- `platform` - The operating system version of the Flyway CLI. Can specify `linux`, `linux-alpine`, `macos`, or `windows`. This setting is ignored when `java` is selected for the architecture. **Default:** the platform of the runner.
2727
- `email` - A Redgate email to be used in conjunction with the `token` parameter to configure a personal access token (PAT). Used to authenticate Flyway to use either Teams or Enterprise.
2828
- `token` - A personal access token (PAT) to be used in conjunction with the `email` parameter. This is used to license Flyway to access Teams or Enterprise features.
29+
- `max-auth-attempts` - The maximum number of times to attempt authenticating Flyway. **Default:** `2`.
2930

3031
> [!NOTE]
3132
> The Flyway CLI supports the `windows-x64`, `linux-x64`, `macosx-arm64`, `macosx-x64`, and `linux-alpine-x64` platforms.

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ inputs:
2626
token:
2727
description: A personal access token (PAT) to be used in conjunction with the email configuration parameter. This is used to license Flyway to access Teams or Enterprise features.
2828
required: false
29+
max-auth-attempts:
30+
description: The maximum number of times to attempt authenticating Flyway. Defaults to 2.
31+
required: false
32+
default: '2'
2933
outputs:
3034
path:
3135
description: The path to the tool installation folder

0 commit comments

Comments
 (0)