Skip to content

initial commit

initial commit #1

Workflow file for this run

name: Release devcontainer features
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "src/**"
- ".github/workflows/release.yaml"
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Publish features to ghcr.io/${{ github.repository }}
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./src"
generate-docs: "true"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Open PR for generated documentation
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: "docs: update generated feature READMEs"
commit-message: "docs: update generated feature READMEs"
branch: automated-feature-docs
delete-branch: true
body: |
Automated update of generated feature documentation.
Triggered by ${{ github.sha }} on ${{ github.ref }}.