Skip to content

Commit

Permalink
fix: workflow corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
praptisharma28 committed Feb 10, 2024
1 parent 5ec1a1c commit a281607
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 28 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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!'

0 comments on commit a281607

Please sign in to comment.