flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kna...@apache.org
Subject [flink-jira-bot] 10/15: [FLINK-22035] add simply github action to run bot hourly
Date Wed, 14 Apr 2021 10:13:32 GMT
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 <knauf.konstantin@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

Mime
View raw message