You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by kn...@apache.org on 2021/05/19 08:09:32 UTC

[flink-jira-bot] 10/47: [FLINK-22035] add simply github action to run bot hourly

This is an automated email from the ASF dual-hosted git repository.

knaufk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-jira-bot.git

commit c20522941bf683d33f9d5fabfd8a1ab584f480b8
Author: Konstantin Knauf <kn...@gmail.com>
AuthorDate: Mon Apr 12 15:12:15 2021 +0200

    [FLINK-22035] add simply github action to run bot hourly
---
 .github/workflows/actions.yaml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.github/workflows/actions.yaml b/.github/workflows/actions.yaml
new file mode 100644
index 0000000..b3dd688
--- /dev/null
+++ b/.github/workflows/actions.yaml
@@ -0,0 +1,25 @@
+name: Run Flink Jira Bot Hourly
+
+on:
+  schedule:
+      - cron: 0 * * * *
+jobs:
+  run:
+    env:
+      JIRA_PASSWORD: ${{ secrets.FLINK_JIRA_BOT_PASSWORD }}
+
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python 3.9
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.9
+      - name: Install dependencies
+        run: |
+          python -m pip install --upgrade pip
+          pip install -r requirements.txt
+      - name: Run Jira Bot
+        run: |
+          python flink_jira_bot.py
\ No newline at end of file