Skip to content

Commit

Permalink
ci: sync-masterto-stable (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
digikata authored Feb 15, 2024
1 parent e795f12 commit 92db986
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/s;ync-master-to-stable.yml

This file was deleted.

17 changes: 15 additions & 2 deletions .github/workflows/sync-master-to-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,20 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
# with:
# ref: stable
- name: Generate PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./scripts/sync-master-to-stable.sh
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# setup git repo
# github doesn't do a full fetch by default
# these cmds get the git repo to the point
# that the script works as it does with
# a regular dev checkout
git config --global user.email "team@infinyon.com"
git config --global user.name "CI fluvio-website sync-master-to-stable"
git fetch origin master
git fetch origin stable
./scripts/sync-master-to-stable.sh

0 comments on commit 92db986

Please sign in to comment.