Skip to content

Commit

Permalink
chore: sync files (#312)
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <noreply@github.com>

Co-authored-by: kenji-miyake <kenji-miyake@users.noreply.github.com>
  • Loading branch information
awf-autoware-bot[bot] and kenji-miyake committed Jan 28, 2022
1 parent b92a308 commit 21af9ca
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/automatic-rebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: automatic-rebase

on:
issue_comment:
types:
- created

jobs:
automatic-rebase:
if: ${{ github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') }}
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: Check out repository
uses: actions/checkout@v2
with:
token: ${{ steps.generate-token.outputs.token }}
fetch-depth: 0

- name: Automatic rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ARM64
container: ros:galactic
steps:
- name: Checkout repository
- name: Check out repository
uses: actions/checkout@v2

- name: Remove exec_depend
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit-optional.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit-optional

on:
pull_request:

jobs:
pre-commit-optional:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@tier4/proposal
with:
pre-commit-config: .pre-commit-config-optional.yaml
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: pre-commit

on:
pull_request:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2

- name: Run pre-commit
uses: autowarefoundation/autoware-github-actions/pre-commit@tier4/proposal
with:
pre-commit-config: .pre-commit-config.yaml
6 changes: 5 additions & 1 deletion .markdown-link-check.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"aliveStatusCodes": [200, 206, 403],
"ignorePatterns": [],
"ignorePatterns": [
{
"pattern": "^http://localhost"
}
],
"retryOn429": true,
"retryCount": 10
}
6 changes: 6 additions & 0 deletions .pre-commit-config-optional.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/tcort/markdown-link-check
rev: v3.9.3
hooks:
- id: markdown-link-check
args: [--config=.markdown-link-check.json]

0 comments on commit 21af9ca

Please sign in to comment.