diff --git a/.github/workflows/update-sfe-next.yml b/.github/workflows/update-sfe-next.yml index 6ea91b133..3fbfb564f 100644 --- a/.github/workflows/update-sfe-next.yml +++ b/.github/workflows/update-sfe-next.yml @@ -1,25 +1,25 @@ on: push: # Sequence of patterns matched against refs/heads - branches: + branches: - master name: Update the sfe-next branch on pushes to master jobs: updateSfeNextBranch: runs-on: ubuntu-latest steps: - - uses: actions/checkout@master - - name: Setup node - uses: actions/setup-node@v1 - - name: update the dependency on @serverless/enterprise-plugin to the next tag - run: node scripts/update-sfe-dep.js - - name: git commit - uses: srt32/git-actions@v0.0.3 - with: - args: git config --global user.email "engineering@serverless.com" && git config --global user.name "Github Action" && git commit -am 'update the dependency on @serverless/enterprise-plugin to the next tag' - - name: git push - uses: srt32/git-actions@v0.0.3 - with: - args: git push https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} HEAD:sfe-next -f - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@master + - name: Setup node + uses: actions/setup-node@v1 + - name: update the dependency on @serverless/enterprise-plugin to the next tag + run: node scripts/update-sfe-dep.js + - name: git commit + uses: srt32/git-actions@v0.0.3 + with: + args: git config --global user.email "engineering@serverless.com" && git config --global user.name "Github Action" && git commit -am 'Update the dependency on @serverless/enterprise-plugin to the next tag' + - name: git push + uses: srt32/git-actions@v0.0.3 + with: + args: git push https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} HEAD:sfe-next -f + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}