Skip to content

Commit e5e2469

Browse files
committed
🚀 Initial commit
0 parents  commit e5e2469

21 files changed

Lines changed: 42178 additions & 0 deletions

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello-world-go-action filter=lfs diff=lfs merge=lfs -text

.github/ISSUE_TEMPLATE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
❤️ First off, thanks for taking the time to contribute! ❤️
2+
3+
## Describe the bug or feature
4+
5+
A clear and concise description of what the bug is.
6+
7+
## To reproduce a bug
8+
9+
Steps to reproduce the behavior:
10+
11+
1. Go to '...'
12+
2. Click on '....'
13+
3. Scroll down to '....'
14+
4. See error
15+
16+
## Expected behavior
17+
18+
A clear and concise description of what you expected to happen.
19+
20+
## Screenshots
21+
22+
If applicable, add screenshots to help explain your problem.
23+
24+
## GitHub Repo Link
25+
26+
If applicable, add a link to the GitHub Actions workflow.
27+
28+
## Additional context
29+
30+
Add any other context about the problem here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributing to Actionforge
2+
3+
❤️ First off, thanks for taking the time to contribute! ❤️
4+
5+
Before you create a pull request, please make sure you check the following:
6+
7+
- [ ] A description of the problem you're trying to solve.
8+
- [ ] An overview of the suggested solution.
9+
- [ ] Your code should contain tests relevant for the problem you are solving.
10+
- [ ] If the feature changes current behavior, reasons why your solution is better.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: CI Pipeline
2+
3+
on:
4+
push:
5+
branches: ["**"]
6+
tags: ["**"]
7+
8+
jobs:
9+
build-and-test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v6
14+
- name: Check if Version Validation is Required
15+
id: check_tag
16+
run: |
17+
if [[ "${{ github.ref }}" == refs/tags/* ]]; then
18+
echo "is_tag=true" >> $GITHUB_OUTPUT
19+
else
20+
echo "is_tag=false" >> $GITHUB_OUTPUT
21+
fi
22+
- name: Validate Version Match
23+
if: steps.check_tag.outputs.is_tag == 'true'
24+
run: |
25+
# Ensure the version in package.json matches the current git tag
26+
PACKAGE_VERSION=$(jq -r '.version' package.json)
27+
TAG_VERSION=${GITHUB_REF_NAME#v}
28+
29+
if [ "$PACKAGE_VERSION" != "$TAG_VERSION" ]; then
30+
echo "Version mismatch: package.json version is $PACKAGE_VERSION, but tag is v$TAG_VERSION"
31+
exit 1
32+
fi
33+
34+
- name: Setup Node.js
35+
uses: actions/setup-node@v6
36+
with:
37+
node-version: '22.12.0'
38+
- name: Install and Lint
39+
run: |
40+
npm install
41+
npm run lint
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
entry: gh-start
2+
nodes:
3+
- id: gh-start
4+
type: core/gh-start@v1
5+
position:
6+
x: -380
7+
y: 150
8+
- id: github-com-actions-checkout-coconut-coconut-banana
9+
type: github.com/actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
10+
position:
11+
x: 130
12+
y: 50
13+
- id: github-com-actions-setup-node-cherry-grape-banana
14+
type: github.com/actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8
15+
position:
16+
x: 1360
17+
y: 110
18+
inputs:
19+
node-version: v20.10.0
20+
- id: run-v1-strawberry-cat-blueberry
21+
type: core/run@v1
22+
position:
23+
x: 1920
24+
y: 90
25+
inputs:
26+
script: |-
27+
npm install
28+
npm run lint
29+
- id: run-v1-brown-brown-panda
30+
type: core/run@v1
31+
position:
32+
x: 950
33+
y: -130
34+
inputs:
35+
script: |-
36+
# Ensure the version in package.json matches the current git tag
37+
PACKAGE_VERSION=$(jq -r '.version' package.json)
38+
TAG_VERSION=${GITHUB_REF_NAME#v}
39+
40+
if [ "$PACKAGE_VERSION" != "$TAG_VERSION" ]; then
41+
echo "Version mismatch: package.json version is $PACKAGE_VERSION, but tag is v$TAG_VERSION"
42+
exit 1
43+
fi
44+
- id: env-get-v1-grape-tiger-cherry
45+
type: core/env-get@v1
46+
position:
47+
x: -70
48+
y: 1090
49+
inputs:
50+
env: GITHUB_REF
51+
- id: string-match-v1-panda-orange-gold
52+
type: core/string-match@v1
53+
position:
54+
x: 270
55+
y: 930
56+
inputs:
57+
op: startswith
58+
str2: refs/tags/
59+
- id: branch-v1-orange-giraffe-lion
60+
type: core/branch@v1
61+
position:
62+
x: 680
63+
y: 220
64+
connections:
65+
- src:
66+
node: env-get-v1-grape-tiger-cherry
67+
port: env
68+
dst:
69+
node: string-match-v1-panda-orange-gold
70+
port: str1
71+
- src:
72+
node: string-match-v1-panda-orange-gold
73+
port: result
74+
dst:
75+
node: branch-v1-orange-giraffe-lion
76+
port: condition
77+
executions:
78+
- src:
79+
node: github-com-actions-setup-node-cherry-grape-banana
80+
port: exec
81+
dst:
82+
node: run-v1-strawberry-cat-blueberry
83+
port: exec
84+
- src:
85+
node: github-com-actions-checkout-coconut-coconut-banana
86+
port: exec
87+
dst:
88+
node: branch-v1-orange-giraffe-lion
89+
port: exec
90+
- src:
91+
node: branch-v1-orange-giraffe-lion
92+
port: exec-then
93+
dst:
94+
node: run-v1-brown-brown-panda
95+
port: exec
96+
- src:
97+
node: run-v1-brown-brown-panda
98+
port: exec-success
99+
dst:
100+
node: github-com-actions-setup-node-cherry-grape-banana
101+
port: exec
102+
- src:
103+
node: branch-v1-orange-giraffe-lion
104+
port: exec-otherwise
105+
dst:
106+
node: github-com-actions-setup-node-cherry-grape-banana
107+
port: exec
108+
- src:
109+
node: gh-start
110+
port: exec-on_push
111+
dst:
112+
node: github-com-actions-checkout-coconut-coconut-banana
113+
port: exec

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
__test__/_temp
2+
_temp/
3+
lib/
4+
node_modules/
5+
.DS_Store

CODE_OF_CONDUCT.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity
10+
and orientation.
11+
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
14+
15+
## Our Standards
16+
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
19+
20+
* Demonstrating empathy and kindness toward other people
21+
* Being respectful of differing opinions, viewpoints, and experiences
22+
* Giving and gracefully accepting constructive feedback
23+
* Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
* Focusing on what is best not just for us as individuals, but for the
26+
overall community
27+
28+
Examples of unacceptable behavior include:
29+
30+
* The use of sexualized language or imagery, and sexual attention or
31+
advances of any kind
32+
* Trolling, insulting or derogatory comments, and personal or political attacks
33+
* Public or private harassment
34+
* Publishing others' private information, such as a physical or email
35+
address, without their explicit permission
36+
* Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
38+
39+
## Enforcement Responsibilities
40+
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
45+
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
50+
51+
## Scope
52+
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
58+
59+
## Enforcement
60+
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
hello@actionforge.dev.
64+
All complaints will be reviewed and investigated promptly and fairly.
65+
66+
All community leaders are obligated to respect the privacy and security of the
67+
reporter of any incident.
68+
69+
## Enforcement Guidelines
70+
71+
Community leaders will follow these Community Impact Guidelines in determining
72+
the consequences for any action they deem in violation of this Code of Conduct:
73+
74+
### 1. Correction
75+
76+
**Community Impact**: Use of inappropriate language or other behavior deemed
77+
unprofessional or unwelcome in the community.
78+
79+
**Consequence**: A private, written warning from community leaders, providing
80+
clarity around the nature of the violation and an explanation of why the
81+
behavior was inappropriate. A public apology may be requested.
82+
83+
### 2. Warning
84+
85+
**Community Impact**: A violation through a single incident or series
86+
of actions.
87+
88+
**Consequence**: A warning with consequences for continued behavior. No
89+
interaction with the people involved, including unsolicited interaction with
90+
those enforcing the Code of Conduct, for a specified period of time. This
91+
includes avoiding interactions in community spaces as well as external channels
92+
like social media. Violating these terms may lead to a temporary or
93+
permanent ban.
94+
95+
### 3. Temporary Ban
96+
97+
**Community Impact**: A serious violation of community standards, including
98+
sustained inappropriate behavior.
99+
100+
**Consequence**: A temporary ban from any sort of interaction or public
101+
communication with the community for a specified period of time. No public or
102+
private interaction with the people involved, including unsolicited interaction
103+
with those enforcing the Code of Conduct, is allowed during this period.
104+
Violating these terms may lead to a permanent ban.
105+
106+
### 4. Permanent Ban
107+
108+
**Community Impact**: Demonstrating a pattern of violation of community
109+
standards, including sustained inappropriate behavior, harassment of an
110+
individual, or aggression toward or disparagement of classes of individuals.
111+
112+
**Consequence**: A permanent ban from any sort of public interaction within
113+
the community.
114+
115+
## Attribution
116+
117+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118+
version 2.0, available at
119+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120+
121+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122+
enforcement ladder](https://github.com/mozilla/diversity).
123+
124+
[homepage]: https://www.contributor-covenant.org
125+
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Contributing
2+
3+
❤️ Every contribution is welcome! Whether you're fixing a bug, adding new features, sharing an idea, or improving documentation, your help makes the project so much better.
4+
5+
Please read the [Code of Conduct](CODE_OF_CONDUCT.md) before contributing.
6+
7+
Other ways to contribute:
8+
9+
- ⭐ Star [actionforge/action](https://github.com/actionforge/action)
10+
- 🐦 Follow Actionforge on X [@actionforge](https://twitter.com/actionforge)
11+
- 📝 Share what you think about Actionforge.
12+

LICENSE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# ⚖️ License Text
2+
3+
For the complete license and legal documentatio, please refer to:
4+
5+
* 📄 **Source Code:** [actionforge/legal/LICENSE.md](https://github.com/actionforge/legal/blob/main/LICENSE.md)
6+
* 🌐 **Official Website:** [actionforge.dev/eula](https://www.actionforge.dev/eula)

0 commit comments

Comments
 (0)