Skip to content

Commit 0f6cf9c

Browse files
authored
ci(release): v1.0.0
1 parent 2ae4619 commit 0f6cf9c

28 files changed

+1276
-508
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "GitHub Actions (JavaScript)",
2+
"name": "Action - Text Variables",
33
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
44
"postCreateCommand": "npm install",
55
"customizations": {
@@ -36,6 +36,8 @@
3636
},
3737
"features": {
3838
"ghcr.io/devcontainers/features/github-cli:1": {},
39-
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
39+
"ghcr.io/devcontainers-contrib/features/prettier:1": {},
40+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
41+
"ghcr.io/dhoeric/features/act:1": {}
4042
}
4143
}

.env.debug

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Provide template as direct text or from a file.
2+
# If both are provided, only the direct text is used.
3+
# INPUT_TEMPLATE-TEXT="Hello {{ login }}"
4+
INPUT_TEMPLATE-FILE=examples/hello.md
5+
6+
# Variables to replace in the template.
7+
INPUT_TEMPLATE-VARS='{"login": "chriswblake"}'
8+
9+
# Show debug logs. Default: false
10+
ACTIONS_STEP_DEBUG=true

.env.example

Lines changed: 0 additions & 59 deletions
This file was deleted.

.github/linters/.markdown-lint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1+
# Header levels should only increment by one level at a time
2+
MD01: false
3+
14
# Unordered list style
25
MD004:
36
style: dash
47

8+
# Line length
9+
MD013:
10+
tables: false
11+
12+
# Trailing punctuation in heading
13+
MD026:
14+
punctuation: '.,;:!'
15+
516
# Ordered list item prefix
617
MD029:
718
style: one
@@ -13,6 +24,9 @@ MD030:
1324
ul_multi: 1
1425
ol_multi: 1
1526

27+
# First line in a file should be a top-level heading
28+
MD041: false
29+
1630
# Code block style
1731
MD046:
1832
style: fenced

.github/workflows/check-dist.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ on:
1313
pull_request:
1414
branches:
1515
- main
16-
push:
17-
branches:
18-
- main
16+
paths:
17+
- '**/*.js'
18+
- 'package.json'
19+
- 'package-lock.json'
1920

2021
permissions:
2122
contents: read

.github/workflows/ci.yml

Lines changed: 6 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ on:
44
pull_request:
55
branches:
66
- main
7-
push:
8-
branches:
9-
- main
7+
paths:
8+
- '**/*.js'
9+
- 'package.json'
10+
- 'package-lock.json'
1011

1112
permissions:
1213
contents: read
1314

1415
jobs:
15-
test-javascript:
16-
name: JavaScript Tests
16+
run-tests:
17+
name: Run Tests
1718
runs-on: ubuntu-latest
1819

1920
steps:
@@ -43,22 +44,3 @@ jobs:
4344
- name: Test
4445
id: npm-ci-test
4546
run: npm run ci-test
46-
47-
test-action:
48-
name: GitHub Actions Test
49-
runs-on: ubuntu-latest
50-
51-
steps:
52-
- name: Checkout
53-
id: checkout
54-
uses: actions/checkout@v4
55-
56-
- name: Test Local Action
57-
id: test-action
58-
uses: ./
59-
with:
60-
milliseconds: 1000
61-
62-
- name: Print Output
63-
id: output
64-
run: echo "${{ steps.test-action.outputs.time }}"

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 73 deletions
This file was deleted.

.github/workflows/linter.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ on:
44
pull_request:
55
branches:
66
- main
7-
push:
8-
branches:
9-
- main
7+
paths:
8+
- '**/*.js'
9+
- '**/*.md'
1010

1111
permissions:
1212
contents: read
@@ -40,9 +40,9 @@ jobs:
4040
id: super-linter
4141
uses: super-linter/super-linter/slim@v7
4242
env:
43-
DEFAULT_BRANCH: main
4443
FILTER_REGEX_EXCLUDE: dist/**/*
4544
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4645
VALIDATE_JAVASCRIPT_STANDARD: false
4746
VALIDATE_ALL_CODEBASE: true
4847
VALIDATE_JSCPD: false
48+
VALIDATE_ENV: false

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Nektos/Act
2+
.actrc
3+
.act.vars
4+
.act.secrets
5+
16
# Dependency directory
27
node_modules
38

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist/
22
node_modules/
3-
coverage/
3+
coverage/
4+
examples/

0 commit comments

Comments
 (0)