mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-24 17:50:58 -05:00
Minor brand wording change
Rename Github to GitHub. Signed-off-by: Antoine Leblanc <ant.leblanc@gmail.com>
This commit is contained in:
parent
0cafbe0243
commit
2751fb19a9
8 changed files with 15 additions and 15 deletions
|
@ -16,7 +16,7 @@
|
|||
###########
|
||||
# Globals #
|
||||
###########
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # Github Workspace
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # GitHub Workspace
|
||||
DOCKER_USERNAME="${DOCKER_USERNAME}" # Username to login to DockerHub
|
||||
DOCKER_PASSWORD="${DOCKER_PASSWORD}" # Password to login to DockerHub
|
||||
IMAGE_REPO="${IMAGE_REPO}" # Image repo to upload the image
|
||||
|
@ -32,7 +32,7 @@ Header()
|
|||
{
|
||||
echo ""
|
||||
echo "-------------------------------------------------------"
|
||||
echo "----- Github Actions remove image from DockerHub ------"
|
||||
echo "----- GitHub Actions remove image from DockerHub ------"
|
||||
echo "-------------------------------------------------------"
|
||||
echo ""
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ core_expire_sessions: "false"
|
|||
core_package_version: "null"
|
||||
|
||||
#######################
|
||||
# Default Github Vars #
|
||||
# Default GitHub Vars #
|
||||
#######################
|
||||
github_ssl_enabled: "true"
|
||||
github_ssl_tls_mode: "tlsv12"
|
||||
|
|
|
@ -74,7 +74,7 @@
|
|||
###################################
|
||||
# Set the GHE Admin Password fact #
|
||||
###################################
|
||||
- name: Set the Github Admin password fact
|
||||
- name: Set the GitHub Admin password fact
|
||||
set_fact:
|
||||
github_admin_password: "{{ github_admin_password }}"
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ def delete_label(label_id):
|
|||
Delete the specified label
|
||||
:param label_id: Label's node id.
|
||||
:type label_id: str
|
||||
:return: Github API request response.
|
||||
:return: GitHub API request response.
|
||||
"""
|
||||
|
||||
query_variables = {
|
||||
|
|
|
@ -88,7 +88,7 @@ def delete_label(label_id):
|
|||
Delete the specified label
|
||||
:param label_id: Label's node id.
|
||||
:type label_id: str
|
||||
:return: Github API request response.
|
||||
:return: GitHub API request response.
|
||||
"""
|
||||
|
||||
query_variables = {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
###########
|
||||
# Globals #
|
||||
###########
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # Github Workspace
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # GitHub Workspace
|
||||
DOCKER_USERNAME="${DOCKER_USERNAME}" # Username to login to DockerHub
|
||||
DOCKER_PASSWORD="${DOCKER_PASSWORD}" # Password to login to DockerHub
|
||||
IMAGE_REPO="${IMAGE_REPO}" # Image repo to upload the image
|
||||
|
@ -33,7 +33,7 @@ Header()
|
|||
{
|
||||
echo ""
|
||||
echo "-------------------------------------------------------"
|
||||
echo "------ Github Actions Upload image to DockerHub -------"
|
||||
echo "------ GitHub Actions Upload image to DockerHub -------"
|
||||
echo "-------------------------------------------------------"
|
||||
echo ""
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ FROM python:alpine
|
|||
# Label the instance and set maintainer #
|
||||
#########################################
|
||||
LABEL com.github.actions.name="GitHub Super-Linter" \
|
||||
com.github.actions.description="Lint your code base with Github Actions" \
|
||||
com.github.actions.description="Lint your code base with GitHub Actions" \
|
||||
com.github.actions.icon="code" \
|
||||
com.github.actions.color="red" \
|
||||
maintainer="GitHub DevOps <github_devops@github.com>"
|
||||
|
@ -99,7 +99,7 @@ RUN curl -Ls "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/r
|
|||
&& mv "tflint" /usr/bin/
|
||||
|
||||
###########################################
|
||||
# Load GitHub Env Vars for Github Actions #
|
||||
# Load GitHub Env Vars for GitHub Actions #
|
||||
###########################################
|
||||
ENV GITHUB_SHA=${GITHUB_SHA} \
|
||||
GITHUB_EVENT_PATH=${GITHUB_EVENT_PATH} \
|
||||
|
|
|
@ -67,8 +67,8 @@ LANGUAGE_ARRAY=('YML' 'JSON' 'XML' 'MARKDOWN' 'BASH' 'PERL' 'RUBY' 'PYTHON'
|
|||
# GitHub ENV Vars #
|
||||
###################
|
||||
GITHUB_SHA="${GITHUB_SHA}" # GitHub sha from the commit
|
||||
GITHUB_EVENT_PATH="${GITHUB_EVENT_PATH}" # Github Event Path
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # Github Workspace
|
||||
GITHUB_EVENT_PATH="${GITHUB_EVENT_PATH}" # GitHub Event Path
|
||||
GITHUB_WORKSPACE="${GITHUB_WORKSPACE}" # GitHub Workspace
|
||||
ANSIBLE_DIRECTORY="${ANSIBLE_DIRECTORY}" # Ansible Directory
|
||||
VALIDATE_ALL_CODEBASE="${VALIDATE_ALL_CODEBASE}" # Boolean to validate all files
|
||||
VALIDATE_YAML="${VALIDATE_YAML}" # Boolean to validate language
|
||||
|
@ -167,7 +167,7 @@ Header()
|
|||
##########
|
||||
echo ""
|
||||
echo "---------------------------------------------"
|
||||
echo "--- Github Actions Multi Language Linter ----"
|
||||
echo "--- GitHub Actions Multi Language Linter ----"
|
||||
echo "---------------------------------------------"
|
||||
echo ""
|
||||
echo "---------------------------------------------"
|
||||
|
@ -1963,9 +1963,9 @@ RunTestCases()
|
|||
Header
|
||||
|
||||
#######################
|
||||
# Get Github Env Vars #
|
||||
# Get GitHub Env Vars #
|
||||
#######################
|
||||
# Need to pull in all the Github variables
|
||||
# Need to pull in all the GitHub variables
|
||||
# needed to connect back and update checks
|
||||
GetGitHubVars
|
||||
|
||||
|
|
Loading…
Reference in a new issue