Skip to content

Commit

Permalink
Merge branch 'main' into migrate-off-vuepress-to-vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocode authored May 9, 2024
2 parents 852b483 + 1475ee6 commit e834586
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr-size-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: pr-size

on: [pull_request]

jobs:
labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/xs'
xs_max_size: '10'
s_label: 'size/s'
s_max_size: '100'
m_label: 'size/m'
m_max_size: '500'
l_label: 'size/l'
l_max_size: '1000'
xl_label: 'size/xl'
# fail_if_xl: 'false'
# message_if_xl: >
# This PR exceeds the recommended size of 1000 lines.
# Please make sure you are NOT addressing multiple issues with one PR.
# Note this PR might be rejected due to its size.
github_api_url: 'https://api.github.com'
files_to_ignore: ''
2 changes: 1 addition & 1 deletion runatlantis.io/docs/server-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ and set `--autoplan-modules` to `false`.
```bash
atlantis server --disable-markdown-folding
# or
ATLANTIS_DISABLE_MARKDOWN_FOLDER=true
ATLANTIS_DISABLE_MARKDOWN_FOLDING=true
```
Disable folding in markdown output using the `<details>` html tag.

Expand Down
6 changes: 3 additions & 3 deletions runatlantis.io/docs/using-slack-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ webhooks:
workspace-regex: .*
branch-regex: .*
kind: slack
channel: my-channel
channel: my-channel-id
```
If you are deploying Atlantis as a Helm chart, this can be implemented via the `config` parameter available for [chart customizations](https://github.com/runatlantis/helm-charts#customization):
Expand All @@ -59,9 +59,9 @@ config: |
workspace-regex: .*
branch-regex: .*
kind: slack
channel: my-channel
channel: my-channel-id
```
The `apply` event information will be sent to the `my-channel` Slack channel.
The `apply` event information will be sent to the `my-channel-id` Slack channel.

0 comments on commit e834586

Please sign in to comment.