Skip to content

Update c2m2 stable #26922

Update c2m2 stable

Update c2m2 stable #26922

name: Update c2m2 stable
on:
schedule:
- cron: '0 * * * *'
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.ALLTHEACTIONS }}
- name: Update c2m2 submodule preview
env:
GITHUB_TOKEN: ${{ secrets.ALLTHEACTIONS }}
ID_CFDEBOT: ${{ secrets.id_cfdebot }}
run: |
mkdir $HOME/.ssh && echo "$ID_CFDEBOT" > $HOME/.ssh/id_rsa && chmod 600 $HOME/.ssh/id_rsa && git submodule update --init --recursive --remote docs/c2m2
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
base: stable
token: ${{ secrets.ALLTHEACTIONS }}
commit-message: Update stable
title: Auto update c2m2 submodule to stable
body: |
Your preview was generated at: https://cfde-published-documentation.readthedocs-hosted.com/en/c2m2preview/
- Dependency updates
- requires review
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: proposedc2m2update
branch: update-c2m2
reviewers: jonathancrabtree, raynamharris