Skip to content

Commit a533ace

Browse files
authored
Merge pull request #3 from optimizely/master
sync from upstream
2 parents 08b1f7d + 9da02bb commit a533ace

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# --- base stage --- #
22

3-
FROM alpine:3.18 AS base
3+
FROM alpine:3.19 AS base
44

55
# hadolint ignore=DL3018
66
RUN apk add --no-cache --update \
7-
nodejs=18.17.0-r0 \
7+
nodejs=18.18.2-r0 \
88
git=2.40.1-r0 \
99
openssh=9.3_p2-r0 \
1010
ca-certificates=20230506-r0 \

action.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@ inputs:
1919
default: "3000"
2020

2121
runs:
22-
using: 'node20'
23-
main: 'dist/index.js'
24-
post: 'dist/index.js'
25-
post-if: success()
26-
22+
using: docker
23+
image: docker://ghcr.io/ahmadnassri/action-workflow-queue:1.2.0

docs/README.template

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@ $about.description$
77

88
$body$
99

10-
----
11-
> Author: [Ahmad Nassri](https://www.ahmadnassri.com/) •
12-
> Twitter: [@AhmadNassri](https://twitter.com/AhmadNassri)
10+
---
11+
12+
> Author: [Ahmad Nassri](https://www.ahmadnassri.com/)
1313

1414
[license-url]: LICENSE
1515
[license-img]: https://badgen.net/github/license/$about.repository$
16-
1716
[release-url]: https://github.com/$about.repository$/releases
1817
[release-img]: https://badgen.net/github/release/$about.repository$

src/lib/runs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default async function ({ octokit, workflow_id, run_id, before }) {
1717
// find any instances of the same workflow
1818
const waiting_for = workflow_runs
1919
// limit to currently running ones
20-
.filter(run => ['in_progress', 'queued', 'waiting', 'pending','action_required', 'requested'].includes(run.status))
20+
.filter(run => ['in_progress', 'queued', 'waiting', 'pending', 'action_required', 'requested'].includes(run.status))
2121
// exclude this one
2222
.filter(run => run.id !== run_id)
2323
// get older runs

0 commit comments

Comments
 (0)