From 1c4a8b3ff541917b1ba9056edabd6a9ac0b96c49 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Sat, 15 Oct 2022 15:39:57 +0330 Subject: [PATCH] add vendor dependency check action --- .github/workflows/vendor.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/vendor.yml diff --git a/.github/workflows/vendor.yml b/.github/workflows/vendor.yml new file mode 100644 index 0000000..3beb8f5 --- /dev/null +++ b/.github/workflows/vendor.yml @@ -0,0 +1,39 @@ +name: Update Vendor + +on: + schedule: + # At 13:37 UTC every day. + - cron: '37 13 * * *' + +defaults: + run: + shell: pwsh + +permissions: + contents: read + +jobs: + vendor: + + runs-on: windows-latest + continue-on-error: false + timeout-minutes: 15 + permissions: + contents: write + pull-requests: write + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - run: | + # TODO + + - uses: peter-evans/create-pull-request@v4 + with: + title: 'Actions: Updates to the vendored dependencies' + body: 'Automatic changes' + commit-message: 'Update vendored dependencies' + branch: update-vendor + base: master