Bump checkout-sdk-node from 2.8.1 to 3.2.0 in /node #10
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Create Node Package | |
| on: | |
| pull_request: | |
| types: | |
| - closed | |
| branches: | |
| - 'main' | |
| paths: | |
| - 'node/**' | |
| jobs: | |
| create_node_package_and_push: | |
| name: Create Node package and push | |
| if: github.event.pull_request.merged == true | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Checkout main branch | |
| uses: actions/checkout@v3 | |
| with: | |
| ref: main | |
| - name: Define global config git | |
| run: | | |
| git config --global user.name "Github Actions" | |
| git config --global user.email "github-action@users.noreply.github.com" | |
| - name: Zip Node files | |
| run: | | |
| zip -r ../node.zip node | |
| - name: Move zip Node file to workspace | |
| run: | | |
| mv ../node.zip . | |
| - name: Push zip Node file to packages branch | |
| run: | | |
| git add node.zip | |
| git commit -am "Added new Node package: '${{ github.event.pull_request.title }}'" | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| base: main | |
| branch: feature/node-pr_${{ github.event.pull_request.number }}-${{ github.event.created_at }} | |
| branch-suffix: timestamp | |
| committer: 'Github Actions <github-action@users.noreply.github.com>' | |
| author: 'Github Actions <github-action@users.noreply.github.com>' | |
| title: ${{ github.event.pull_request.title }} | |
| body: ${{ github.event.pull_request.body }} | |
| labels: | | |
| node | |
| automated pr |