Skip to content

Commit 52731c5

Browse files
committed
Fix using devcontainers cli on ci
1 parent 37126eb commit 52731c5

File tree

16 files changed

+14
-22
lines changed

16 files changed

+14
-22
lines changed

.github/workflows/release-features.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@ on:
55
branches:
66
- main
77
paths:
8+
- .github/workflows/release-features.yml
89
- features/**
910

1011
jobs:
1112
release:
1213
runs-on: ubuntu-latest
13-
permissions:
14-
packages: write
15-
contents: write
16-
pull-requests: write
17-
1814
steps:
1915
- name: Checkout
2016
uses: actions/checkout@v4
@@ -24,6 +20,8 @@ jobs:
2420
with:
2521
publish-features: "true"
2622
base-path-to-features: "./features"
27-
generate-docs: "true"
23+
generate-docs: "false"
24+
disable-schema-validation: "true"
25+
disable-repo-tagging: "true"
2826
env:
29-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27+
GITHUB_TOKEN: ${{ secrets.FIX_GITHUB_TOKEN_TO_WRITE_PACKAGES }}

.github/workflows/release-image.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8+
- .github/workflows/release-image.yml
89
- image/**
910

1011
jobs:

.github/workflows/release-template.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@ on:
55
branches:
66
- main
77
paths:
8+
- .github/workflows/release-template.yml
89
- template/**
910

1011
jobs:
1112
release:
1213
runs-on: ubuntu-latest
13-
permissions:
14-
packages: write
15-
contents: write
16-
pull-requests: write
17-
1814
steps:
1915
- name: Checkout
2016
uses: actions/checkout@v4
@@ -34,6 +30,8 @@ jobs:
3430
with:
3531
publish-templates: "true"
3632
base-path-to-templates: "./template"
37-
generate-docs: "true"
33+
generate-docs: "false"
34+
disable-schema-validation: "true"
35+
disable-repo-tagging: "true"
3836
env:
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.FIX_GITHUB_TOKEN_TO_WRITE_PACKAGES }}

features/mount-dotai/devcontainer-feature.json renamed to features/feature-mount-dotai/devcontainer-feature.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
32
"id": "feature-mount-dotai",
43
"name": "feature-mount-dotai",
5-
"version": "1.0.1",
4+
"version": "1.0.0",
65
"mounts": [
76
{
87
"source": "/Users/${localEnv:USER}/.dotai/config/agents",

features/mount-dotfiles-local/devcontainer-feature.json renamed to features/feature-mount-dotfiles-local/devcontainer-feature.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
32
"id": "feature-mount-dotfiles-local",
43
"name": "feature-mount-dotfiles-local",
54
"version": "1.0.1",
File renamed without changes.

features/mount-permachine-caches/devcontainer-feature.json renamed to features/feature-mount-permachine-caches/devcontainer-feature.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
32
"id": "feature-mount-permachine-caches",
43
"name": "feature-mount-permachine-caches",
54
"version": "1.0.0",
File renamed without changes.

features/mount-perproject-dotlocal/devcontainer-feature.json renamed to features/feature-mount-perproject-dotlocal/devcontainer-feature.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/refs/heads/main/schemas/devContainerFeature.schema.json",
32
"id": "feature-mount-perproject-dotlocal",
43
"name": "feature-mount-perproject-dotlocal",
54
"version": "1.0.0",

0 commit comments

Comments
 (0)