Skip to content

Commit

Permalink
fix: renew config
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit committed Dec 4, 2024
1 parent ea31397 commit 57d7bfe
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/renew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
schedule:
- cron: "0 0 * * *"

env:
BRANCH_PREFIX: update-config

jobs:
check_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -60,19 +57,13 @@ jobs:
run: |
node ./scripts/renew-config.js "${{ needs.check_release.outputs.version }}"
- name: New PR branch
id: new_branch
run: |
NAME="$BRANCH_PREFIX-${{ needs.check_release.outputs.version }}"
echo "name=$NAME" >> $GITHUB_OUTPUT
- name: Create Pull Request if not exist
uses: peter-evans/create-pull-request@v7
with:
add-paths: |
config/*
commit-message: add new vara config
branch: "$BRANCH_PREFIX/"
branch: "renew-configs"
branch-suffix: timestamp
delete-branch: true
base: master
Expand Down

0 comments on commit 57d7bfe

Please sign in to comment.