Astral, a company that builds tools used by millions of developers, has shared its techniques for securing its tools and CI/CD processes. The company uses GitHub Actions, but notes that it has poor security defaults, and has implemented various measures to secure its workflows, such as forbidding certain triggers and requiring actions to be pinned to specific commits. Astral also limits workflow and job permissions, isolates secrets, and enforces branch and tag protection rules. The company hopes that sharing its techniques will be useful to other maintainers, projects, and companies.