-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 933 Bytes
/
import-check.yaml
File metadata and controls
29 lines (27 loc) · 933 Bytes
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
name: 'Variable Import Check (read-only)'
on:
schedule:
- cron: '0 16 * * 2' # Every Tuesday at 4 PM UTC
workflow_dispatch: # Allows manual trigger
jobs:
checks:
runs-on: 'ubuntu-latest'
environment: 'Actions'
name: 'Variable Import Check'
steps:
- name: Check out Git repository
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Install dependencies
run: npm ci --production
- name: Check for updates
uses: './dist'
with:
FIGMA_URL: ${{ secrets.MAIN_FIGMA_URL }}
FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }}
SLACK_WEBHOOK_SUCCESS: ${{ secrets.SLACK_WEBHOOK_SUCCESS }}
SLACK_WEBHOOK_FAILURE: ${{ secrets.SLACK_WEBHOOK_FAILURE }}
DRY_RUN: 'true'