Skip to content

Feat: Security 작업 및 Request Response Logging #11

Feat: Security 작업 및 Request Response Logging

Feat: Security 작업 및 Request Response Logging #11

Workflow file for this run

name: uni PR CI
on:
pull_request:
branches: [ develop ]
permissions:
contents: read
issues: read
checks: write
pull-requests: write
jobs:
ci:
uses: ./.github/workflows/gradle_task.yml
with:
tasks: '["ktlintCheck", "build -x test -x ktlintCheck", "test"]'
secrets: inherit
publish-test-result:
needs:
- ci
runs-on: ubuntu-latest
steps:
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
with:
files: build/test-results/**/*.xml
result-success:

Check failure on line 31 in .github/workflows/pr_ci_checker.yml

View workflow run for this annotation

GitHub Actions / uni PR CI

Invalid workflow file

The workflow is not valid. .github/workflows/pr_ci_checker.yml (Line: 31, Col: 9): Unexpected value 'result-success' .github/workflows/pr_ci_checker.yml (Line: 48, Col: 9): Unexpected value 'result-failure'
needs:
- ci
if: success()
runs-on: ubuntu-latest
steps:
- name: On Success!! Congratulations
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#53A551'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: 'Uni/PR Check S.U.C.C.E.S.S 🎉🎉🎉'
SLACK_ICON: ${{ github.event.org.avatar_url }}
MSG_MINIMAL: event,actions url, commit
SLACK_USERNAME: Uni-server
SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'
result-failure:
needs:
- ci
if: failure()
runs-on: ubuntu-latest
steps:
- name: On Failed, Notify in Slack
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#ff0000'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: 'Uni/Server Debug build Fail❌ 에러를 확인해주세요'
SLACK_ICON: ${{ github.event.org.avatar_url }}
MSG_MINIMAL: event,actions url, commit
SLACK_USERNAME: Uni-server
SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'