diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..5f9447fe2 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + # Update GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" \ No newline at end of file diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 000000000..3905513ac --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,19 @@ +name: Greetings + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + greeting: + runs-on: ubuntu-latest + steps: + - name: Show Greetings Message + run: | + if [ "${{ github.event_name }}" = "pull_request" ]; then + echo "Great job, ${{ github.actor }}! 🎉 Thank you for submitting your pull request in LinksHub. Your contribution is valuable and we appreciate your efforts to improve our project. We'll review your changes and provide feedback as soon as possible. Keep up the great work!" + elif [ "${{ github.event_name }}" = "issues" ]; then + echo "Hello, ${{ github.actor }}! 🎉 Thank you for creating a new issue in LinksHub. Your contribution is highly appreciated, and we are eager to collaborate with you to resolve the issue. Your hard work and dedication are commendable. Keep up the excellent work!" + fi diff --git a/.github/workflows/jsoncheck.yml b/.github/workflows/jsoncheck.yml new file mode 100644 index 000000000..6a2cb2769 --- /dev/null +++ b/.github/workflows/jsoncheck.yml @@ -0,0 +1,17 @@ +name: JSON check + +on: + push: + paths: + - "**.json" + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: json-syntax-check + uses: limitusus/json-syntax-check@v2 + with: + pattern: "\\.json$" \ No newline at end of file