Skip to content

Commit

Permalink
ci: add sync-files.yaml (#28)
Browse files Browse the repository at this point in the history
* ci: add sync-files.yaml

Signed-off-by: Kenji Miyake <[email protected]>

* update config

Signed-off-by: Kenji Miyake <[email protected]>
  • Loading branch information
kenji-miyake authored Feb 28, 2022
1 parent e3c8c60 commit 3e1813f
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 579 deletions.
76 changes: 0 additions & 76 deletions .github/get_modified_package.sh

This file was deleted.

21 changes: 21 additions & 0 deletions .github/sync-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- repository: autowarefoundation/autoware
files:
- source: .github/dependabot.yaml
- source: .github/workflows/pre-commit.yaml
- source: .github/workflows/pre-commit-optional.yaml
- source: .github/workflows/semantic-pull-request.yaml
- source: .github/workflows/spell-check-differential.yaml
- source: .clang-format
- source: .markdown-link-check.json
- source: .markdownlint.yaml
- source: .pre-commit-config-optional.yaml
- source: .prettierignore
- source: .prettierrc.yaml
- source: .yamllint.yaml
- source: CPPLINT.cfg
- source: setup.cfg

- repository: autowarefoundation/autoware_common
files:
- source: .github/workflows/build-and-test.yaml
- source: .github/workflows/build-and-test-differential.yaml
68 changes: 0 additions & 68 deletions .github/workflows/build_and_test.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/workflows/build_and_test_pr.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/spell_check_pr.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/sync-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: sync-files

on:
schedule:
- cron: 0 19 * * * # run at 4 AM JST
workflow_dispatch:

jobs:
sync-files:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

- name: Run sync-files
uses: autowarefoundation/autoware-github-actions/sync-files@tier4/proposal
with:
token: ${{ steps.generate-token.outputs.token }}
66 changes: 0 additions & 66 deletions .github/workflows/sync-main-for-develop.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/sync-public-develop.yaml

This file was deleted.

Loading

0 comments on commit 3e1813f

Please sign in to comment.