@@ -17,7 +17,7 @@ describe("GitHub Actions hardening", () => {
1717 expect ( count ( workflow , "timeout-minutes: 8" ) ) . toBe ( 2 ) ;
1818 expect ( workflow ) . toContain ( "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" ) ;
1919 expect ( workflow ) . toContain ( "oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6" ) ;
20- expect ( workflow ) . toContain ( "actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 " ) ;
20+ expect ( workflow ) . toContain ( "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e " ) ;
2121 expect ( workflow ) . toContain ( "bun test --isolate tests" ) ;
2222 expect ( workflow ) . not . toMatch ( / u s e s : \s + \S + @ (?: v \d + | m a i n | m a s t e r ) \b / ) ;
2323 } ) ;
@@ -68,7 +68,7 @@ describe("GitHub Actions hardening", () => {
6868 // Immutable action references.
6969 expect ( workflow ) . toContain ( "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" ) ;
7070 expect ( workflow ) . toContain ( "oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6" ) ;
71- expect ( workflow ) . toContain ( "actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 " ) ;
71+ expect ( workflow ) . toContain ( "actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e " ) ;
7272 expect ( workflow ) . not . toMatch ( / u s e s : \s + \S + @ (?: v \d + | m a i n | m a s t e r ) \b / ) ;
7373
7474 // Workflow-dispatch inputs must reach shell code via env, never by direct
@@ -116,8 +116,8 @@ describe("GitHub Actions hardening", () => {
116116 expect ( workflow ) . toContain ( "timeout-minutes: 15" ) ;
117117 expect ( workflow ) . toContain ( "timeout-minutes: 10" ) ;
118118 expect ( workflow ) . toContain ( "actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0" ) ;
119- expect ( workflow ) . toContain ( "withastro/action@56781b97402ce0487b7e61ce2cb960c0e2cc5289 " ) ;
120- expect ( workflow ) . toContain ( "actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e " ) ;
119+ expect ( workflow ) . toContain ( "withastro/action@e84f40bd8d2caa9e768ec82ad30dd81f0b280853 " ) ;
120+ expect ( workflow ) . toContain ( "actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 " ) ;
121121 expect ( workflow ) . not . toMatch ( / u s e s : \s + \S + @ (?: v \d + | m a i n | m a s t e r ) \b / ) ;
122122 } ) ;
123123} ) ;
0 commit comments