Skip to content

Commit

Permalink
fix prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Dec 24, 2024
1 parent 4f36e3b commit 9ab4dd3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,21 @@ jobs:
- id: set-key
run: echo "key=C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0" >> $GITHUB_OUTPUT

determine-prefix:
runs-on: ubuntu-latest
outputs:
prefix: ${{ steps.set-prefix.outputs.prefix }}
steps:
- id: set-prefix
run: echo "prefix=maintenance-$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT

create-branch-prefix:
needs: determine-signing-key
needs:
- determine-signing-key
- determine-prefix
uses: ./.github/workflows/create_branch_prefix.yml
with:
prefix: "maintenance-${{ format('yyyy-MM-dd', 'UTC') }}"
prefix: ${{ needs.determine-prefix.outputs.prefix }}
version: $(jq -r '.version' package.json)
signing-key-id: ${{ needs.determine-signing-key.outputs.signing-key-id }}
secrets:
Expand Down

0 comments on commit 9ab4dd3

Please sign in to comment.