Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jul 18, 2024
1 parent 0409ba9 commit 930c621
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/image-deps-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set matrix
- name: Get versions
id: get-versions
run: |
set -euox pipefail
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

update-makefile:
runs-on: ubuntu-20.04
needs: [get-versions]
needs: [get-versions, build-images]

steps:
- name: Checkout
Expand All @@ -124,27 +124,27 @@ jobs:
sed -i "s/^$makefile_var.*/$makefile_var = $version/" Makefile
done
- name: Create Pull Request # creates a PR if there are differences
uses: peter-evans/create-pull-request@v6
id: cpr
with:
token: ${{ secrets.AUTOMATED_PR_GH_PAT }}
commit-message: 'Update image versions'
title: 'Automated image updates'
branch: automation/image-dependencies
delete-branch: true
labels: |
automated-pr
images
type::security
# draft: false
draft: true
# base: "main"
base: "sgalsaleh/sc-108755/use-chainguard-images-for-embedded-cluster"
body: "Automated changes by the [image-deps-updater](https://github.com/replicatedhq/embedded-cluster/blob/main/.github/workflows/image-deps-updater.yaml) GitHub action"

- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
# - name: Create Pull Request # creates a PR if there are differences
# uses: peter-evans/create-pull-request@v6
# id: cpr
# with:
# token: ${{ secrets.AUTOMATED_PR_GH_PAT }}
# commit-message: 'Update image versions'
# title: 'Automated image updates'
# branch: automation/image-dependencies
# delete-branch: true
# labels: |
# automated-pr
# images
# type::security
# # draft: false
# draft: true
# # base: "main"
# base: "sgalsaleh/sc-108755/use-chainguard-images-for-embedded-cluster"
# body: "Automated changes by the [image-deps-updater](https://github.com/replicatedhq/embedded-cluster/blob/main/.github/workflows/image-deps-updater.yaml) GitHub action"

# - name: Check outputs
# if: ${{ steps.cpr.outputs.pull-request-number }}
# run: |
# echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
# echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

0 comments on commit 930c621

Please sign in to comment.