diff --git a/.github/super-linter.env b/.github/super-linter.env new file mode 100644 index 0000000..9c7c257 --- /dev/null +++ b/.github/super-linter.env @@ -0,0 +1,5 @@ +DEFAULT_BRANCH=main +LINTER_RULES_PATH=/ +MARKDOWN_CONFIG_FILE=.markdownlint.yml +VALIDATE_JSON_PRETTIER=false +VALIDATE_MARKDOWN_PRETTIER=false diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 133776d..cb96137 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,6 +5,9 @@ on: pull_request: workflow_dispatch: +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest @@ -12,9 +15,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 with: fetch-depth: 0 - - uses: github/super-linter/slim@v4 + - run: cat .github/super-linter.env >> "$GITHUB_ENV" + - uses: github/super-linter/slim@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # v7 env: - DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - LINTER_RULES_PATH: / - MARKDOWN_CONFIG_FILE: .markdownlint.yml diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 061181c..3eea82c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -47,7 +47,7 @@ threatening, offensive, or harmful. This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of -representing a project or community include using an official project e-mail +representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. @@ -55,7 +55,7 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at oss-conduct@axis.com. All +reported by contacting the project team at . All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.