Skip to content

DelSnapShot

DelSnapShot #2

Workflow file for this run

name: DelSnapShot
on:
workflow_dispatch:
jobs:
delete-snapshot:
runs-on: ubuntu-latest
steps:
- run: |
curl -L \
-H "Accept: application/json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/user
- name: Make API request
run: |
curl -L \
-H "Accept: application/json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/Onitsiky/Cloudformation-test
- run: |
curl -L \
-H "Accept: application/json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/installation/repositories