Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Bump step-security/harden-runner from 2.6.1 to 2.7.0 (#70) #112

Bump step-security/harden-runner from 2.6.1 to 2.7.0 (#70)

Bump step-security/harden-runner from 2.6.1 to 2.7.0 (#70) #112

Workflow file for this run

on:
push:
branches:
- 'main'
# Declare default permissions as read only.
permissions: read-all
jobs:
mirror_job:
permissions:
contents: write
deployments: write
runs-on: ubuntu-latest
name: Mirror SOURCE_BRANCH_NAME branch to DESTINATION_BRANCH_NAME branch
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
- name: Mirror action step
id: mirror
uses: google/mirror-branch-action@30c52ee21f5d3bd7fb28b95501c11aae7f17eebb # v2.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
source: 'main'
dest: 'master'