Skip to content

Check outdate pod and create issue #43

Check outdate pod and create issue

Check outdate pod and create issue #43

name: Check outdate pod and create issue
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
jobs:
check-outdated-pods:
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@95d9a5deda9de15063e7595e9719c11c38c90ae2 # v2.13.2
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@main
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 }}"