Skip to content

add manifest entry for libcuspatial wheels (#387) #361

add manifest entry for libcuspatial wheels (#387)

add manifest entry for libcuspatial wheels (#387) #361

Workflow file for this run

name: Generate feature docs
concurrency:
group: generate-feature-docs-from-${{ github.ref_name }}
cancel-in-progress: true
on:
push:
branches:
- "branch-[0-9][0-9].[0-9][0-9]"
tags:
- "v[0-9][0-9].[0-9][0-9].[0-9][0-9]"
jobs:
docs:
if: github.repository == 'rapidsai/devcontainers'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v4
- name: Copy common scripts into features
uses: ./.github/actions/copy-common-scripts
- name: Install devcontainers CLI
uses: ./.github/actions/install-devcontainers-cli
- name: Generate feature docs
uses: devcontainers/action@v1
with:
generate-docs: true
publish-features: false
disable-repo-tagging: true
base-path-to-features: "./features/src"
features-namespace: "${{ github.repository }}/features"
- name: Create PR for Documentation
shell: bash -e {0}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# Configure git
git config --global user.email [email protected];
git config --global user.name github-actions;
git config pull.rebase false;
# Get name of target branch
base="$(git branch --show-current)";
# Make branch for docs update
branch=automated-documentation-update-$GITHUB_RUN_ID;
git checkout -b $branch;
message='Automated documentation update';
# Add / update and commit
git add */**/README.md;
git commit -m 'Automated documentation update [skip ci]' || export NO_UPDATES=true;
# Push updates
if [ "$NO_UPDATES" != 'true' ] ; then
git push origin "$branch";
gh pr create --base "$base" --title "$message" --body "$message";
fi