Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:fix label.yml #28

Merged
merged 7 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/codeq-analysisPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'CodeQL'

on: pull_request

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20.11.1
- name: Use node_modules cache
uses: actions/cache@v4
with:
path: node_modules
key: yarn-node-20-lock-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-node-20-lock-
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- run: yarn add eas-cli
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
6 changes: 1 addition & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: 'CodeQL'

on:
push:
branches: ['main', 'onboarding-screen']
schedule:
- cron: '30 8 * * 5'
on: push

jobs:
analyze:
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/label.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/preview.yml

This file was deleted.

10 changes: 3 additions & 7 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
# https://github.com/github/super-linter
name: Lint Code Base

on:
push:
branches: [ "main", "onboarding-screen" ]
pull_request:
branches: [ "main", "onboarding-screen" ]
on: push
jobs:
run-lint:
runs-on: ubuntu-latest
Expand All @@ -24,6 +20,6 @@ jobs:
- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: "main"
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: 'main'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25 changes: 25 additions & 0 deletions .github/workflows/super-linterPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base

on: pull_request
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: 'main'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36 changes: 0 additions & 36 deletions .github/workflows/update.yml

This file was deleted.

Loading