Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/submodule_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: submodule_update

on:
workflow_dispatch:
schedule:
# Mondays at 2pm UTC (9am EST)
- cron: "0 14 * * 1"

jobs:
submodule_update:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
with:
submodules: true
- name: Fetch latest submodule
run: |
git submodule update --remote
- name: Check for changes
id: state
run: |
if ! git diff-index --quiet HEAD --; then
echo "Detected changes..."
echo "::set-output name=dirty::true"
fi
- name: Create PR
if: steps.state.outputs.dirty == 'true'
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.CREDENTIALS_GITHUB_PUSH_TOKEN }}
title: Update Envoy
commit-message: |
Update Envoy

Signed-off-by: GitHub Action <noreply@github.com>
committer: GitHub Action <noreply@github.com>
base: main
delete-branch: true
branch: update-envoy
branch-suffix: short-commit-hash