Skip to content

Commit

Permalink
ci(GITHUB): tidy environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Mar 10, 2023
1 parent c1dfed9 commit d585154
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ jobs:
- name: Ansible Lint -- Render Template
run: |
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
- name: Ansible Lint -- Lint Rendered Template
run: |
Expand Down Expand Up @@ -292,8 +290,6 @@ jobs:
- name: Documentation Test -- Render Template
run: |
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
- name: Documentation Test -- Check Markdown Links For Template
uses: gaurav-nelson/github-action-markdown-link-check@v1
Expand Down Expand Up @@ -383,7 +379,6 @@ jobs:
source ./template/.github/scripts/template.sh "${SELECTION_TOML}" "GitHub Action" "[email protected]"
env:
SELECTION_TOML: ${{ matrix.cookiecutter-toml-selection }}
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

- name: Pre-Commit Test -- Test Ansible Lint -- Expect Failure
run: |
Expand Down Expand Up @@ -581,8 +576,6 @@ jobs:
- name: Shellcheck -- Render Template
run: |
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
- name: Shellcheck -- Shellcheck Scripts
run: |
Expand Down Expand Up @@ -638,8 +631,6 @@ jobs:
- name: Toml Lint -- Render Template
run: |
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
- name: Toml Lint -- Run Linter
run: |
Expand Down Expand Up @@ -693,7 +684,6 @@ jobs:
source ./template/.github/scripts/template.sh "${SELECTION_TOML}"
env:
SELECTION_TOML: ${{ matrix.cookiecutter-toml-selection }}
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

- name: Yaml Lint Test -- Lint Template GitHub Workflows
uses: ibiqlik/action-yamllint@v3
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.profile_slug}}/.github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ jobs:
source ./.github/scripts/setup.sh
source ./.github/scripts/pushed_commit_range.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
GITHUB_CONTEXT: ${{ toJson(github) }}
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}

- name: Security Test -- Run Trufflehog
uses: {% endraw %}{{ cookiecutter._GITHUB_ACTION_TRUFFLEHOG }}{% raw %}
Expand Down

0 comments on commit d585154

Please sign in to comment.