Skip to content

build(deps-dev): bump prettier from 3.4.1 to 3.4.2 #765

build(deps-dev): bump prettier from 3.4.1 to 3.4.2

build(deps-dev): bump prettier from 3.4.1 to 3.4.2 #765

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
permissions:
pull-requests: write
contents: write
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm install
- run: |
npm run all
test:
strategy:
matrix:
os:
- windows-latest
- windows-2022
- windows-2019
- ubuntu-latest
- ubuntu-22.04
- ubuntu-20.04
- macos-latest
- macos-12
- macos-13
version:
- v5.14.0
- 5.14.0
- latest
- ~
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ./
with:
version: ${{ matrix.version }}
- run: devspace --version
test-kubectl-install:
strategy:
matrix:
os:
- windows-latest
- windows-2022
- windows-2019
- ubuntu-latest
- ubuntu-22.04
- ubuntu-20.04
- macos-latest
- macos-12
- macos-13
kubectl-version:
- v1.21.0
- 1.21.0
- latest
- ~
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ./
with:
version: latest
kubectl-install: true
kubectl-version: ${{ matrix.kubectl-version }}
- run: kubectl version --client
# Auto Approve passing Dependabot Patch & Minor PRs
auto-approve-dependabot:
runs-on: ubuntu-latest
needs: [build, test, test-kubectl-install]
if: ${{ github.event_name == 'pull_request' && github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.3.1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve the PR
if : ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-merge the PR
if : ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' }}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}