npm:(deps-dev): bump @typescript-eslint/parser from 6.3.0 to 8.0.0 #272
This file contains 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: Pull Request | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
branches: | |
- $default-branch | |
- main | |
jobs: | |
administration: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Get current release | |
id: current-version | |
run: | | |
echo "::set-output name=version::$(npm pkg get version | xargs)" | |
- uses: ./ | |
name: Check if version "${{ steps.current-version.outputs.version }}" is released | |
id: check-version | |
with: | |
exclude-draft: true | |
prerelease: ${{ contains(steps.current-version.outputs.version, '-rc')}} | |
release: ${{ !contains(steps.current-version.outputs.version, '-rc')}} | |
select: ${{ steps.current-version.outputs.version }} | |
- name: Echo outputs | |
run: | | |
echo "FOUND: ${{ steps.check-version.outputs.found }}" | |
echo "Name: ${{ steps.check-version.outputs.name }}" | |
echo "TagName: ${{ steps.check-version.outputs.tag_name }}" | |
- name: PR labeling | |
uses: srvaroa/labeler@v1.4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Add Version Label | |
if: steps.check-version.outputs.found == 'false' | |
uses: actions-ecosystem/action-add-labels@v1 | |
with: | |
labels: ${{ (contains(steps.current-version.outputs.version, '-rc') && 'prerelease') || 'release' }} |