File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ env: # Global environment variables
16
16
17
17
jobs :
18
18
release-asgardeo-docs :
19
+ if : ${{ github.actor != '${{ env.GIT_USERNAME }}' }}
19
20
runs-on : ubuntu-latest
20
21
steps :
21
22
- name : Check out code
39
40
40
41
- name : Increment version
41
42
run : |
42
- set -eo pipefail
43
+ set -euxo pipefail
43
44
IFS='.' read -r MAJOR MINOR PATCH <<< "${{ env.CURRENT_VERSION }}"
44
45
echo "Current version: MAJOR=$MAJOR, MINOR=$MINOR, PATCH=$PATCH"
45
46
PATCH=$((PATCH+1))
97
98
VERSION_LINE_PREFIX='GITHUB_RELEASE_TAG: v' # Line prefix to identify the version line
98
99
99
100
# Clone the downstream repository
101
+ echo "GIT_ORG_NAME: $GIT_ORG_NAME"
102
+ echo "GIT_REPO_NAME: $GIT_REPO_NAME"
103
+ echo "GIT_BRANCH_NAME: $GIT_BRANCH_NAME"
100
104
git clone "https://$GIT_USERNAME:$GITHUB_TOKEN@github.com/$GIT_ORG_NAME/$GIT_REPO_NAME.git"
101
105
cd $GIT_REPO_NAME
102
106
git checkout $GIT_BRANCH_NAME
You can’t perform that action at this time.
0 commit comments