Skip to content

Commit 6696146

Browse files
authored
feat(ci): add complete validate, release, publish workflows with local act config (#4)
This change introduces the full CI/CD automation for validating feature.json files, managing releases with Release Please, publishing features after official releases, and adds a local .actrc configuration to enable easier and faster local testing of workflows. Signed-off-by: Jonatan Mata <jonmatum@gmail.com>
1 parent c81feac commit 6696146

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.actrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Use a better image than the default
2+
-P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
3+
4+
# Provide a fake GitHub Token when running locally
5+
-s GITHUB_TOKEN=faketoken
6+
7+
# Always reuse containers (faster local runs)
8+
--reuse
9+
10+
# Show more detailed logs
11+
--verbose

.github/workflows/devcontainer-features.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
find features -name feature.json | while read file; do
3333
echo "Checking $file"
3434
jq empty "$file"
35+
done
3536
3637
release:
3738
name: Release Please (manage releases)
@@ -43,7 +44,7 @@ jobs:
4344
uses: actions/checkout@v4
4445

4546
- name: Run Release Please
46-
uses: google-github-actions/release-please-action@v4
47+
uses: googleapis/release-please-action@v4
4748
with:
4849
config-file: release-please-config.json
4950
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)