From 2b7b19600675b32ab8c9c2befa8c8da1783ff547 Mon Sep 17 00:00:00 2001 From: Xinwei Xiong <3293172751NSS@gmail.com> Date: Fri, 26 Jan 2024 22:29:38 +0800 Subject: [PATCH] Create pull-request.yml Signed-off-by: Xinwei Xiong <3293172751NSS@gmail.com> --- .github/workflows/pull-request.yml | 33 ++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..748b0a0 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,33 @@ +name: Update ASF APIs +on: + push: + schedule: + - cron: '0 2 * * *' + workflow_dispatch: + +jobs: + update-asf: + name: Update ASF APIs + runs-on: ubuntu-latest + steps: + - name: Checkout Open Source + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up system wide dependencies + run: | + echo "xxxx" >> README.md + + - name: Create PR + uses: peter-evans/create-pull-request@v5 + with: + title: "Update ASF APIs" + body: "xxxx" + branch: "asf-auto-updates" + author: "LocalStack Bot " + committer: "LocalStack Bot " + commit-message: "update generated ASF APIs to latest version" + labels: "area: asf, area: dependencies, semver: patch" + token: ${{ secrets.BOT_GITHUB_TOKEN }} + reviewers: openimbot