Skip to content

Commit

Permalink
Merge pull request #257 from github/shebangAction
Browse files Browse the repository at this point in the history
Use portable shebang
  • Loading branch information
admiralAwkbar committed Jun 23, 2020
2 parents 06d5f71 + e03f876 commit ca33d82
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .automation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ When the script is triggered in a branch, it will push with the tag:**NameOfBran
- **Note:** The branch name will be reduced to alphanumeric for consistency and uploading

## test

This folder holds all **Test Cases** to help run the *CI/CT/CD* process for the **Super-Linter**.
2 changes: 1 addition & 1 deletion .automation/cleanup-docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

################################################################################
############# Cleanup Image on DockerHub @admiralawkbar ########################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

################################################################################
# Script to run ghe-config-apply on the primary GHES instance
Expand Down
2 changes: 1 addition & 1 deletion .automation/test/shell/shell_bad_1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# CMD
HELLO_WORLD=($(echo "Hello World" | cut -f1 -d' ' 2>&1))
Expand Down
2 changes: 1 addition & 1 deletion .automation/test/shell/shell_good_1.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

# CMD
HELLO_WORLD=$(echo "Hello World" | cut -f1 -d' ' 2>&1)
Expand Down
2 changes: 1 addition & 1 deletion .automation/upload-docker.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

################################################################################
############# Deploy Container to DockerHub @admiralawkbar #####################
Expand Down
2 changes: 1 addition & 1 deletion lib/linter.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# shellcheck disable=SC1003,SC2016

################################################################################
Expand Down
2 changes: 1 addition & 1 deletion lib/possum.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
cat <<EOF
--------------------------------------------------------------------------------
Expand Down

0 comments on commit ca33d82

Please sign in to comment.