Salary Deviation Checker #39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Salary Deviation Checker | |
| permissions: {} | |
| on: | |
| schedule: | |
| - cron: '*/10 14 * * *' # every 10 minutes at 2:00 PM UTC | |
| workflow_dispatch: | |
| jobs: | |
| salaryDeviationChecker: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Call salaryDeviationChecker endpoint | |
| id: salaryDeviationChecker | |
| uses: fjogeleit/http-request-action@v1 | |
| with: | |
| url: '${{ vars.BASE_URL }}/salaryDeviationChecker' | |
| method: 'POST' | |
| customHeaders: '{"Authorization": "Bearer ${{ secrets.SYNC_ENDPOINT_KEY }}"}' | |
| timeout: 30000 | |
| - name: Show Response | |
| run: | | |
| echo ${{ steps.salaryDeviationChecker.outputs.status }} | |
| echo ${{ steps.salaryDeviationChecker.outputs.response }} |