-
-
Notifications
You must be signed in to change notification settings - Fork 117
34 lines (28 loc) · 1 KB
/
check-adopters.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Adopters Updater
# // Run on cron every 12 hours
on:
schedule:
- cron: '0 */12 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check_adopters:
if: github.repository_owner == 'adoptium'
name: Temurin Adopters
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- run: python3 .github/workflows/fetch-adopters.py
- uses: gr2m/create-or-update-pull-request-action@488876a65a2ca38b7eb05e9086166337087f5323 # v1.10.0
env:
GITHUB_TOKEN: ${{ secrets.ADOPTIUM_BOT_TOKEN }}
with:
title: "Update Temurin Adopters"
body: "This is an automatically generated pull request, it will be automatically merged if all the CI tests pass."
branch: "adopters_bot"
commit-message: "adopters: update temurin adopters"
author: "adoptium-bot <[email protected]>"