Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Jan 8, 2024
1 parent 5c47e1b commit 56f9113
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
48 changes: 24 additions & 24 deletions .github/actions/automatic-updates/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,32 +36,32 @@ runs:
with:
go-version-file: ${{ inputs.goVersionFile }}
check-latest: true
- name: Generate changelog
uses: ./.github/actions/changelog
with:
token: ${{ inputs.secretGithubToken }}
release_branch: ${{ inputs.branch-ref }}
# - name: Generate changelog
# uses: ./.github/actions/changelog
# with:
# token: ${{ inputs.secretGithubToken }}
# release_branch: ${{ inputs.branch-ref }}

# Changelog
- name: Commit changelog
shell: bash
env:
CI_USER: "github-actions[bot]"
CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
run: |
git config --local user.email "$CI_EMAIL"
git config --local user.name "$CI_USER"
git add CHANGELOG.md && git commit -m 'chore: changelog automatic update' && echo "changelog=1" >> $GITHUB_ENV || echo "No changes to changelog"
# # Changelog
# - name: Commit changelog
# shell: bash
# env:
# CI_USER: "github-actions[bot]"
# CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
# run: |
# git config --local user.email "$CI_EMAIL"
# git config --local user.name "$CI_USER"
# git add CHANGELOG.md && git commit -m 'chore: changelog automatic update' && echo "changelog=1" >> $GITHUB_ENV || echo "No changes to changelog"

# Autogenerated
- name: Run refresh actions and commit
shell: bash
env:
CI_USER: "github-actions[bot]"
CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
run: |
make generate codegen update-docs
git add -A && git commit -m 'chore: autogenerated project resource update' && echo "autogenerated=1" >> $GITHUB_ENV || echo "No changes to autogenerated project resources"
# # Autogenerated
# - name: Run refresh actions and commit
# shell: bash
# env:
# CI_USER: "github-actions[bot]"
# CI_EMAIL: "41898282+github-actions[bot]@users.noreply.github.com"
# run: |
# make generate codegen update-docs
# git add -A && git commit -m 'chore: autogenerated project resource update' && echo "autogenerated=1" >> $GITHUB_ENV || echo "No changes to autogenerated project resources"

# SBOM
- name: Generate SBOM
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
fail-fast: false
max-parallel: 1
matrix:
ref-branch: [main, release-2.1.x, release-2.2.x]
ref-branch: [main]

if: github.repository == 'apache/camel-k'
#if: github.repository == 'apache/camel-k'
runs-on: ubuntu-latest
name: Automatic updates on ${{ matrix.ref-branch }} branch
steps:
Expand Down

0 comments on commit 56f9113

Please sign in to comment.