Skip to content

Commit 13b2bed

Browse files
authored
Merge pull request #20 from PRODYNA/feature/19-prevent-list-generation-when-github-action-runs-in-timeout
feature/19 prevent list generation when github action runs in timeout
2 parents 6e898aa + c4f268b commit 13b2bed

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ inputs:
2525
default: 1
2626
runs:
2727
using: 'docker'
28-
image: 'docker://ghcr.io/prodyna/github-users:v1.4'
28+
image: 'docker://ghcr.io/prodyna/github-users:v1.5'
2929
env:
3030
ACTION: ${{ inputs.action }}
3131
ENTERPRISE: ${{ inputs.enterprise }}

userlist/members.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ func (c *UserListConfig) loadMembers() error {
6767
err := client.Query(ctx, &query, variables)
6868
if err != nil {
6969
slog.ErrorContext(ctx, "Unable to query", "error", err)
70+
return err
7071
}
7172

7273
c.userList.Enterprise = Enterprise{

0 commit comments

Comments
 (0)