Skip to content

Commit 611977a

Browse files
author
Martin Lopes
authored
Merge branch 'main' into patch-1
2 parents 708ed3e + cd77ab1 commit 611977a

77 files changed

Lines changed: 1620 additions & 1107 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/allowed-actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = [
1212
'actions/setup-ruby@5f29a1cd8dfebf420691c4c9a0e832e2fae5a526', //actions/setup-ruby@v1.1.2
1313
'actions/stale@af4072615903a8b031f986d25b1ae3bf45ec44d4', //actions/stale@v3.0.13
1414
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
15+
'crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120',
1516
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911',
1617
'docker://chinthakagodawita/autoupdate-action:v1',
1718
'fkirc/skip-duplicate-actions@36feb0d8d062137530c2e00bd278d138fe191289',

.github/workflows/repo-sync-stalls.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
channel: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }}
5959
bot-token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }}
6060
color: failure
61-
text: Repo sync appears to be stalled for ${{github.repository}}. See https://github.com/${{github.repository}}/pulls?q=is%3Apr+is%3Aopen+repo+sync
61+
text: Repo sync appears to be stalled for ${{github.repository}}. See https://github.com/${{github.repository}}/pulls?q=is%3Apr+is%3Aopen+label%3Aautomated-reposync-pr
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: site-policy-sync
2+
3+
# Controls when the action will run.
4+
on:
5+
# Triggers the workflow pull requests merged to the main branch
6+
pull_request:
7+
branches:
8+
- main
9+
types:
10+
- closed
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
16+
jobs:
17+
# This workflow contains a single job called "build"
18+
copy-file:
19+
# The type of runner that the job will run on
20+
runs-on: ubuntu-latest
21+
22+
# Steps represent a sequence of tasks that will be executed as part of the job
23+
steps:
24+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
25+
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
26+
27+
# Pushes to other repo
28+
- name: Push folder to another repository
29+
uses: crykn/copy_folder_to_another_repo_action@abc264e1c16eb3d7b1f7763bfdb0e1699ad43120
30+
env:
31+
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_SITEPOLICY }}
32+
with:
33+
source_folder: 'content/github/site-policy'
34+
destination_repo: 'github/site-policy'
35+
destination_branch: 'non-substantive-changes'
36+
destination_folder: 'Policies'
37+
user_email: 'pcihon@users.noreply.github.com'
38+
user_name: 'pcihon'
39+
commit_msg: 'Mirroring non-substantive changes.'

Procfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
web: NODE_ENV=production node server.js
2+
3+
release: NODE_ENV=production node script/purge-redis-pages.js
39 KB
Loading
103 KB
Loading
66.7 KB
Loading
39.2 KB
Loading
63.1 KB
Loading
38.9 KB
Loading

0 commit comments

Comments
 (0)