Check outdate pod and create issue #61
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: Check outdate pod and create issue | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 1' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-outdated-pods: | |
| permissions: | |
| contents: read | |
| issues: write | |
| runs-on: macos-latest | |
| name: Check outdate pods and create issue if it doesn't exist | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| - name: Check outdated pods and create issue | |
| id: check-outdated-pods-and-create-issue | |
| uses: rudderlabs/github-action-updated-pods-notifier@410c04199bc9e6d1123058bfc19e109311959ba6 # v1.0.0 | |
| with: | |
| outdated-pod-names: "FBSDKCoreKit" | |
| directory: "Example" | |
| title: "fix: update Facebook SDK to the latest version" | |
| assignee: "@rudderlabs/sdk-ios" | |
| labels: "outdatedPod" | |
| color: "FBCA04" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Get the github issue url | |
| if: steps.check-outdated-pods-and-create-issue.outputs.issue-url != '' | |
| run: echo "The Github issue url is ${{ steps.check-outdated-pods-and-create-issue.outputs.issue-url }}" |