Skip to content

Commit

Permalink
Merge pull request #45 from devops-infra/dependency/gha
Browse files Browse the repository at this point in the history
Bump action-pull-request and conditions
  • Loading branch information
ChristophShyper authored Mar 2, 2022
2 parents cc1b2fd + c2a9ce8 commit 6bdeb72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/PUSH-OTHER.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:

lint:
name: Run linters
if: "!startsWith(github.ref, 'refs/heads/dependabot')"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -46,7 +47,6 @@ jobs:

build:
name: Build image
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Create pull request - bugfix (conditional)
if: startsWith(github.ref, 'refs/heads/bugfix')
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand All @@ -84,7 +84,7 @@ jobs:

- name: Create pull request - dependency (conditional)
if: startsWith(github.ref, 'refs/heads/dependency')
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand All @@ -94,7 +94,7 @@ jobs:

- name: Create pull request - documentation (conditional)
if: startsWith(github.ref, 'refs/heads/documentation')
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand All @@ -104,7 +104,7 @@ jobs:

- name: Create pull request - feature (conditional)
if: startsWith(github.ref, 'refs/heads/feature')
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand All @@ -114,7 +114,7 @@ jobs:

- name: Create pull request - test (conditional)
if: startsWith(github.ref, 'refs/heads/test')
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand All @@ -126,7 +126,7 @@ jobs:

- name: Create pull request - other (conditional)
if: "!startsWith(github.ref, 'refs/heads/bugfix') && !startsWith(github.ref, 'refs/heads/dependabot') && !startsWith(github.ref, 'refs/heads/dependency') && !startsWith(github.ref, 'refs/heads/documentation') && !startsWith(github.ref, 'refs/heads/feature') && !startsWith(github.ref, 'refs/heads/test')"
uses: devops-infra/action-pull-request@v0.4
uses: devops-infra/action-pull-request@v0.4.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
assignee: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN set -eux ;\
chmod +x /entrypoint.sh /usr/bin/format-hcl /usr/bin/fmt.sh /usr/bin/terragrunt-fmt.sh ;\
apk update --no-cache ;\
apk add --no-cache \
bash~=5.1.8 \
bash~=5.1.16 \
git~=2.34.1 ;\
rm -rf /var/cache/* ;\
rm -rf /root/.cache/*
Expand Down

0 comments on commit 6bdeb72

Please sign in to comment.