mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* Replace deprecated github actions ::set-output Signed-off-by: Sebastian Malton <sebastian@malton.name> * Update to newer versions to remove notices Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix getting cache dir on windows Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
15 lines
413 B
YAML
15 lines
413 B
YAML
name: Require Milestone
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, synchronize]
|
|
jobs:
|
|
milestone:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Require Milestone
|
|
run: |
|
|
exit $(gh pr view ${{ github.event.pull_request.number }} --json milestone | jq 'if .milestone == null then 1 else 0 end')
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|