forked from fivefilters/ftr-site-config
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (33 loc) · 967 Bytes
/
tag.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
35
36
37
38
39
40
41
name: Tag auto
on:
workflow_dispatch:
schedule:
- cron: "0 2 1 * *"
jobs:
tag:
name: "Automatic tag creation"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
coverage: "none"
tools: composer:v2
ini-values: "date.timezone=Europe/Paris"
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
- name: "Configure upstream"
run: "git remote add upstream https://github.com/fivefilters/ftr-site-config.git"
- name: "Setup git config"
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: "Create tag"
run: "make update"