Skip to content

Commit 93d7a65

Browse files
committed
feat: Add fast-follow action
1 parent 709f860 commit 93d7a65

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/fast-follow.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Fast-follow
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
# Scheduled to run every day at 8am UTC.
7+
- cron: "0 8 * * *"
8+
9+
jobs:
10+
fast-follow:
11+
name: Runs fast-follow
12+
timeout-minutes: 20
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout js-to-lua
16+
uses: actions/checkout@v3
17+
with:
18+
path: js-to-lua-action
19+
repository: roblox/js-to-lua
20+
21+
- name: Checkout repository
22+
uses: actions/checkout@v3
23+
with:
24+
path: downstream-repository
25+
26+
- name: Set up GitHub identity
27+
run: |
28+
git config --global user.name github-actions
29+
git config --global user.email [email protected]
30+
31+
- name: Run Fast Follow
32+
uses: ./js-to-lua-action/.github/actions/fast-follow
33+
with:
34+
github-token: ${{secrets.GITHUB_TOKEN}}
35+
repo-path: downstream-repository
36+
37+
pr-description-cc-users: "@grilme99"

0 commit comments

Comments
 (0)