-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (38 loc) · 1.23 KB
/
on-push-to-main.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
42
name: On push to main
on:
push:
branches: [main]
jobs:
readme:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v3
with:
token: ${{ secrets.MOMENTO_MACHINE_USER_GITHUB_TOKEN }}
- name: Generate README
uses: momentohq/standards-and-practices/github-actions/generate-and-commit-oss-readme@gh-actions-v2
with:
project_status: official
project_stability: stable
project_type: sdk
sdk_language: Go
template_file: ./README.template.md
output_file: ./README.md
dev_docs_slug: go
- name: Generate CONTRIBUTING
uses: momentohq/standards-and-practices/github-actions/generate-and-commit-oss-readme@gh-actions-v2
with:
project_status: official
project_stability: stable
project_type: other
sdk_language: Go
template_file: ./CONTRIBUTING.template.md
output_file: ./CONTRIBUTING.md
dev_docs_slug: go
test:
needs: [readme]
uses: ./.github/workflows/test.yml
secrets:
auth-token: ${{ secrets.ALPHA_TEST_AUTH_TOKEN }}
github-token: ${{ secrets.MOMENTO_MACHINE_USER_GITHUB_TOKEN }}