Skip to content

Commit

Permalink
chore: style fix
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <yurii.shynbuiev@iohk.io>
  • Loading branch information
yshyn-iohk committed May 7, 2024
1 parent 82eb175 commit e2d9586
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/oasdiff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
GITHUB_EVENT_NAME: ${{ github.event_name }}
run: |
echo "Base tag: $BASE_TAG"
if [[ $BASE_TAG == "cloud-agent-v"* ]]; then
if [[ $BASE_TAG =~ 'cloud-agent-v*' ]]; then
echo "BASE_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$BASE_TAG/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $BASE_TAG == "prism-agent-v"* ]]; then
elif [[ $BASE_TAG =~ 'prism-agent-v*' ]]; then
echo "BASE_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$BASE_TAG/prism-agent/service/api/http/prism-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $BASE_TAG == "main" ]]; then
elif [[ $BASE_TAG == 'main' ]]; then
echo "BASE_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$BASE_TAG/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $GITHUB_EVENT_NAME == "pull_request" ]]; then
elif [[ $GITHUB_EVENT_NAME == 'pull_request' ]]; then
echo "BASE_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/main/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
fi
Expand All @@ -55,11 +55,11 @@ jobs:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: |
echo "Revision tag: $REV_TAG"
if [[ $REV_TAG == "cloud-agent-v"* ]]; then
if [[ $REV_TAG =~ 'cloud-agent-v*' ]]; then
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$REV_TAG/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $REV_TAG == "prism-agent-v"* ]]; then
elif [[ $REV_TAG =~ 'prism-agent-v*' ]]; then
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$REV_TAG/prism-agent/service/api/http/prism-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $REV_TAG == "main" ]]; then
elif [[ $REV_TAG == 'main' ]]; then
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$REV_TAG/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
elif [[ $GITHUB_EVENT_NAME == 'pull_request' ]]; then

Check failure on line 64 in .github/workflows/oasdiff.yml

View workflow job for this annotation

GitHub Actions / Megalinter

64:64 [trailing-spaces] trailing spaces
echo "REV_URL=https://raw.githubusercontent.com/hyperledger/identus-cloud-agent/$BRANCH_NAME/cloud-agent/service/api/http/cloud-agent-openapi-spec.yaml" >> $GITHUB_ENV
Expand Down

0 comments on commit e2d9586

Please sign in to comment.