Skip to content

Commit

Permalink
fix some workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
anmode committed Jul 31, 2024
1 parent 69efd08 commit f1dca90
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 30 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/Changelog.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Changelog

on:
push:
branches:
- main
- develop

jobs:
changelog:
Expand All @@ -19,8 +21,8 @@ jobs:
output-file: "false"

- name: Create Release
if: ${{ github.ref == 'refs/heads/main' && steps.changelog.outputs.skipped == 'false' }}
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/add-label-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
add-labels:
if: false
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand All @@ -24,7 +25,7 @@ jobs:
script: |
const { owner, repo } = context.repo;
const prNumber = context.payload.pull_request.number;
const label = 'GrabSwagKit';
const label = 'GrabS';
const addLabelParams = {
owner: owner,
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: "CodeQL"

on:
# push:
push:
branches: "**"
pull_request:
branches: "**"
schedule:
Expand Down Expand Up @@ -37,4 +38,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
category: "/language:${{ matrix.language }}"
26 changes: 0 additions & 26 deletions .github/workflows/jest-test.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: npm install

- name: Run prettier
run: |
npx prettier --check .
Expand Down

0 comments on commit f1dca90

Please sign in to comment.