Skip to content

Test new branch

Test new branch #22

Workflow file for this run

name: Test new branch
on:
workflow_dispatch:
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get date
id: date-time
run: |
echo "datetime=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Checkout code
uses: actions/checkout@v3
with:
ref: "main"
token: ${{ secrets.RELEASE_PAT }}
persist-credentials: true
- name: Create new branch
run: |
git checkout -b release/${{ steps.date-time.outputs.datetime }}
git push -u origin release/${{ steps.date-time.outputs.datetime }}
test-reusable-workflows:
uses: dzmitrykliapkou/test-serverless/.github/workflows/release.yaml@main