Skip to content

Commit

Permalink
Update update-feature-readmes.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 17, 2023
1 parent bfcb289 commit 80af6ac
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions .github/workflows/update-feature-readmes.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish features
name: Update readmes
on:
push:
branches: "main"
Expand All @@ -12,12 +12,26 @@ concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
publish-features:
list-features:
outputs:
changed-features: ${{ steps.list-features-outputs.changed-features }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: list-features
uses: devcontainers-community/list-features@v1
update-feature-readme:
needs: list-features
concurrency: ${{ github.workflow }}-write
permissions:
contents: write
packages: write
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.list-features.outputs.changed-features) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: devcontainers-community/update-feature-readmes@v1
- uses: devcontainers-community/update-feature-readme@v1
with:
feature-id: ${{ matrix.id }}
- uses: stefanzweifel/git-auto-commit-action@v4

0 comments on commit 80af6ac

Please sign in to comment.