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

fix: workflow corrected #264

Merged
merged 1 commit into from
Feb 10, 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
File renamed without changes.
File renamed without changes.
22 changes: 7 additions & 15 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
name: 'CodeQL'
name: "CodeQL"

on:
push:
branches: ['main']
branches: [ main ]
pull_request:
branches: ['main']
branches: [ main ]
schedule:
- cron: '19 19 * * 0'
- cron: '35 14 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'javascript' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'javascript' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
language: ['javascript']
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
language: [ 'javascript' ]

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -38,5 +32,3 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: '/language:${{matrix.language}}'
24 changes: 11 additions & 13 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: 'Greetings'
name: Greetings

on:
issues:
types: [opened]
pull_request_target:
types: [opened]
on: [pull_request, issues]

jobs:
welcome:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v1
- uses: ReactCreations/gh-action-community/src/welcome@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Congratulations, @${{ github.actor }}! 🎉 Thank you for creating your issue for ReactCreations project. Your contribution is greatly appreciated and we look forward to working with you to resolve the issue. Keep up the great work! Should you have any queries or require guidance, do not hesitate to ask.'
pr-message: 'Great job, @${{ github.actor }}! 🎉 Thank you for submitting your pull request for ReactCreations project. Our dedicated team will review it diligently.Your contribution is valuable and we appreciate your efforts to improve our project.'
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hey, @${{ github.actor }} welcome to ReactCreations repository.🎊 Thank you so much for taking the time to point this out.🙌'
pr-message: 'Hey, @${{ github.actor }} welcome to ReactCreations repository.🎊 Thank you so much for taking the effort to make our project better! 🙌 Keep making such awesome contributions!'
Loading