Skip to content

Commit

Permalink
config for check out repo
Browse files Browse the repository at this point in the history
  • Loading branch information
RahulKumar1606 committed Aug 22, 2023
1 parent dda6000 commit 98b21c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: dev-rkumar-AAE-16008-Stop-building-example-application-project-on-every-run-of-helm-tests
token: ${{ secrets.BOT_GITHUB_TOKEN }}

- name: Fetch next version
id: fetch_version
Expand All @@ -34,7 +38,7 @@ jobs:
- name: Check if release is necessary
id: release_guard
run: |
if git tag | grep -q "^${VERSION}$"; then
if git tag | grep -q "^${{steps.fetch_version.outputs.VERSION}}$"; then
echo "do_release=false" >> $GITHUB_OUTPUT
else
echo "do_release=true" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 98b21c8

Please sign in to comment.